# Bioseal class

Represents a BioSeal code.

Implemented types
  - Finalizable

## Constructors

Bioseal()
  Creates a new instance of the Bioseal class.
Bioseal.fromHandle(Pointer<id3Bioseal> handle)
  Creates a new instance of the Bioseal class.

## Properties

auxData → Field
  The auxiliary data containing additional information specific to the BioSeal.
  no setter
biometricVerificationRules → BiometricVerificationRules
  The list of biometric verification rules.
  no setter
certificateAuthorityReference → String
  The issuing reference of the certificate authority.
  no setter
certificateIdentifier → String
  The identifier of the certificate.
  no setter
certificateInformation → CertificateInformation
  The detailed certificate information.
  no setter
containsAuxData → bool
  Indicates whether the BioSeal contains auxiliary data.
  no setter
containsBiometrics → bool
  Indicates whether the BioSeal contains biometric data.
  no setter
containsExtensions → bool
  Indicates whether the BioSeal contains extensions.
  no setter
containsFaceTemplates → bool
  Indicates whether the BioSeal contains face templates.
  no setter
containsFingerTemplates → bool
  Indicates whether the BioSeal contains finger templates.
  no setter
containsImages → bool
  Indicates whether the BioSeal contains images.
  no setter
containsPortraits → bool
  Indicates whether the BioSeal contains portraits.
  no setter
data → Uint8List
  The data of the VDS as a binary array.
  no setter
decryptionCallback ← DecryptionCallbackHandler
  The callback used to decrypt a field.
  no getter
documentIssuingCountry → String
  The identifier of the country issuing the document. For AFNOR XP Z42-101 only.
  no setter
documentIssuingDate → DateTime?
  The document issuing date.
  no setter
documentScope → String
  The identification code of the scope on which the document type is defined. For AFNOR XP Z42-101 only.
  no setter
documentType → String
  The document type identification code. For AFNOR XP Z42-101 only.
  no setter
expirationDate → DateTime?
  The BioSeal expiration date.
  no setter
extendedFormat → BiosealFormat
  The BioSeal format with prefix information.
  no setter
externalResourceCallback ← ResourceCallbackHandler
  The callback used to retrieve an external resource (LoTL, TSL, certificate, manifest, CRL) with specified URI.
  no getter
format → BiosealFormat
  The BioSeal format without prefix information.
  no setter
handle → Pointer<id3Bioseal>
  Gets the native handle. return The native handle.
  no setter
hashCode → int
  The hash code for this object.
  no setter inherited
hasPrefix → bool
  Prefix is present.
  no setter
headerVersion → int
  The header version.
  no setter
htmlView → String
  The presentation view, in HTML format, created from the manifest and the data contained in the BioSeal.
  no setter
issuingAgencyCode → String?
  The Issuing Agency Code (IAC). For ISO 22376:2023 format only.
  no setter
log → Log
  The log.
  no setter
lotlUrl ↔ String?
  The URL to the LoTL (List of Trust List).
  getter/setter pair
manifest → Manifest
  The manifest information.
  no setter
manifestId → int
  The manifest ID in ISO 22385 format.
  no setter
manifestUrl ↔ String
  The URL to the manifest.
  getter/setter pair
payload → Field
  The payload containing the data specific to the BioSeal.
  no setter
prefix → String?
  The prefix.
  no setter
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited
signatureDate → DateTime?
  The BioSeal signature date.
  no setter
supportedLanguages → StringArray
  The list of supported languages declared in the manifest.
  no setter
tslUrl ↔ String?
  The URL to the TSL (Trust Service List).
  getter/setter pair
userAuthentication → UserAuthentication
  The user authentication parameters.
  no setter
verificationResult → VerificationResult
  The last verification result.
  no setter
verifiesCrlUpdates ↔ bool
  Indicates whether the verification process should verify the next CRL update. Hint: Default value is true.
  getter/setter pair
verifiesGovernance ↔ bool
  Indicates whether the governance certification chain is verified. Hint: Default value is true.
  getter/setter pair
verifiesSignature ↔ bool
  Indicates whether the VDS signature is verified. Hint: Default value is true.
  getter/setter pair

## Methods

buildHtmlView(String? language, bool userAuthenticated) → void
  Builds the presentation view, in HTML format.
buildVdsAsJson(String? indentation) → String
  Builds a representation of the VDS, in JSON format.
buildVdsAsXml(String? language) → String
  Builds a representation of the VDS, in a XML format.
clear() → void
  Clears all internal data.
clearDownloadCache() → void
  Clears the internal download cache.
dispose() → void
  Releases all resources used by this Bioseal.
findBiometrics(BiometricDataType biometricDataType, String? biometricFormat) → FieldList
  Finds the biometric field in payload.
findFieldsByExtension(FieldExtensionType fieldExtensionType) → FieldList
  Finds fields by extension type.
findFieldsByExtensionName(String? extensionName) → FieldList
  Finds fields by extension name.
getAuxData() → Field
  Gets the the auxiliary data containing additional information specific to the BioSeal.
getBiometricVerificationRules() → BiometricVerificationRules
  Gets the the list of biometric verification rules.
getCertificateAuthorityReference() → String
  Gets the the issuing reference of the certificate authority.
getCertificateIdentifier() → String
  Gets the the identifier of the certificate.
getCertificateInformation() → CertificateInformation
  Gets the the detailed certificate information.
getContainsAuxData() → bool
  Gets the indicates whether the BioSeal contains auxiliary data.
getContainsBiometrics() → bool
  Gets the indicates whether the BioSeal contains biometric data.
getContainsExtensions() → bool
  Gets the indicates whether the BioSeal contains extensions.
getContainsFaceTemplates() → bool
  Gets the indicates whether the BioSeal contains face templates.
getContainsFingerTemplates() → bool
  Gets the indicates whether the BioSeal contains finger templates.
getContainsImages() → bool
  Gets the indicates whether the BioSeal contains images.
getContainsPortraits() → bool
  Gets the indicates whether the BioSeal contains portraits.
getData() → Uint8List
  Gets the the data of the VDS as a binary array.
getDocumentDescription(String? language) → String?
  Gets the description of the document.
getDocumentIssuingCountry() → String
  Gets the the identifier of the country issuing the document. For AFNOR XP Z42-101 only.
getDocumentIssuingDate() → DateTime?
  Gets the the document issuing date.
getDocumentName(String? language) → String
  Gets the name of the document.
getDocumentScope() → String
  Gets the the identification code of the scope on which the document type is defined. For AFNOR XP Z42-101 only.
getDocumentType() → String
  Gets the the document type identification code. For AFNOR XP Z42-101 only.
getExpirationDate() → DateTime?
  Gets the the BioSeal expiration date.
getExtendedFormat() → BiosealFormat
  Gets the the BioSeal format with prefix information.
getFormat() → BiosealFormat
  Gets the the BioSeal format without prefix information.
getHasPrefix() → bool
  Gets the prefix is present.
getHeaderVersion() → int
  Gets the the header version.
getHtmlView() → String
  Gets the the presentation view, in HTML format, created from the manifest and the data contained in the BioSeal.
getIssuingAgencyCode() → String?
  Gets the the Issuing Agency Code (IAC). For ISO 22376:2023 format only.
getLog() → Log
  Gets the the log.
getLotlUrl() → String?
  Gets the the URL to the LoTL (List of Trust List).
getManifest() → Manifest
  Gets the the manifest information.
getManifestId() → int
  Gets the the manifest ID in ISO 22385 format.
getManifestUrl() → String
  Gets the the URL to the manifest.
getPayload() → Field
  Gets the the payload containing the data specific to the BioSeal.
getPrefix() → String?
  Gets the the prefix.
getSignatureDate() → DateTime?
  Gets the the BioSeal signature date.
getSupportedLanguages() → StringArray
  Gets the the list of supported languages declared in the manifest.
getTslUrl() → String?
  Gets the the URL to the TSL (Trust Service List).
getUserAuthentication() → UserAuthentication
  Gets the the user authentication parameters.
getVerificationResult() → VerificationResult
  Gets the the last verification result.
getVerifiesCrlUpdates() → bool
  Gets the indicates whether the verification process should verify the next CRL update. Hint: Default value is true.
getVerifiesGovernance() → bool
  Gets the indicates whether the governance certification chain is verified. Hint: Default value is true.
getVerifiesSignature() → bool
  Gets the indicates whether the VDS signature is verified. Hint: Default value is true.
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
setDecryptionCallback(DecryptionCallbackHandler decryptionCallback) → void
  Sets the the callback used to decrypt a field.
setExternalResourceCallback(ResourceCallbackHandler externalResourceCallback) → void
  Sets the the callback used to retrieve an external resource (LoTL, TSL, certificate, manifest, CRL) with specified URI.
setLotlUrl(String? lotlUrl) → void
  Sets the the URL to the LoTL (List of Trust List).
setManifestUrl(String? manifestUrl) → void
  Sets the the URL to the manifest.
setTimeZoneOffset(int offsetInSeconds) → void
  Sets the time zone offset in seconds.
setTslUrl(String? tslUrl) → void
  Sets the the URL to the TSL (Trust Service List).
setVerifiesCrlUpdates(bool verifiesCrlUpdates) → void
  Sets the indicates whether the verification process should verify the next CRL update. Hint: Default value is true.
setVerifiesGovernance(bool verifiesGovernance) → void
  Sets the indicates whether the governance certification chain is verified. Hint: Default value is true.
setVerifiesSignature(bool verifiesSignature) → void
  Sets the indicates whether the VDS signature is verified. Hint: Default value is true.
toString() → String
  A string representation of this object.
  inherited
verifyFromBuffer(Uint8List? data) → VerificationResult
  Decodes and verifies the specified data buffer.
verifyFromString(String? data) → VerificationResult
  Decodes and verifies the specified string buffer.

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited

## Static Methods

computeSha256(Uint8List? data) → String
  Computes SHA256.