# PdfComplianceArtifact

Immutable exact-PDF snapshot and matching internal readiness evidence for external compliance validation.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfComplianceArtifact.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compliance/PdfComplianceArtifact.cs#L36)

**Modifiers**

sealed

Immutable exact-PDF snapshot and matching internal readiness evidence for external compliance validation.

## Inheritance

- object
- PdfComplianceArtifact

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [PdfDocument.CreateComplianceArtifact](/api/pdf/officeimo-pdf-pdfdocument/#method-createcomplianceartifact)

Filter members 

Show inherited

## Methods

`public PdfComplianceProofReport AssessProof(IEnumerable<PdfExternalValidationResult>? externalValidations = null)` [#](#method-assessproof-collections-generic-ienumerable-officeimo-pdf-pdfexternalvalidationresult)

[PdfComplianceArtifact.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compliance/PdfComplianceArtifact.cs#L43)

Combines the captured readiness with external validator results bound to this exact artifact.

Parameters

**externalValidations System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfExternalValidationResult>? = null optional**

Returns

`PdfComplianceProofReport`

`public byte[] ToBytes()` [#](#method-tobytes)

[PdfComplianceArtifact.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compliance/PdfComplianceArtifact.cs#L36)

Returns a caller-owned copy of the exact bytes to save or pass to external validators.

Returns

`byte[]`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public PdfComplianceProfile Profile { get; }` [#](#property-profile)

[PdfComplianceArtifact.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compliance/PdfComplianceArtifact.cs#L24)

Requested compliance profile captured with this exact artifact.

`public PdfComplianceReadinessReport Readiness { get; }` [#](#property-readiness)

[PdfComplianceArtifact.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compliance/PdfComplianceArtifact.cs#L27)

Internal generation/readback readiness captured for this exact artifact.

`public string ArtifactSha256 { get; }` [#](#property-artifactsha256)

[PdfComplianceArtifact.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compliance/PdfComplianceArtifact.cs#L30)

Lowercase SHA-256 of the exact artifact bytes.

`public long ArtifactSizeBytes { get; }` [#](#property-artifactsizebytes)

[PdfComplianceArtifact.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compliance/PdfComplianceArtifact.cs#L33)

Exact artifact size in bytes.

<!-- PowerForge markdown artifact sha256:D3E25245B4215B2F77C376D82E8E12E9AA4648EA92C74790BA6F26BFBE9FFCDD -->
