SOD
internal final class SOD : DataGroup
SOD (Security Object Document) is a class representing the Security Object data group within an eMRTD.
It contains information related to digital signatures and security attributes.
Tip: Retrieving data group hashes and perform Passive Autentication is possible by decoding
SOD.
See also
DataGroup, SignedData, PKCS7,
X509Certificate and PassiveAuthenticationHandler
-
Declaration
Swift
private(set) var pkcs7: PKCS7! { get } -
Declaration
Swift
private(set) var signedData: SignedData! { get } -
An array of X.509 certificates associated with the Security Object Document.
Declaration
Swift
internal var certs: [X509Certificate] { get } -
Initialize a
SODinstance with ASN.1 data.Throws
An error if there are issues with the provided data or during initialization.
Declaration
Swift
internal required init(_ data: ASN1Node, identifier: DGTag) throwsParameters
dataThe ASN.1 data representing the Security Object Document.
-
Decode the ASN.1 data to extract the
PKCS7MessageandSignedData.Throws
An error if there are issues with the provided data or during decoding.
Declaration
Swift
override internal func decode(_ data: ASN1Node) throwsParameters
dataThe ASN.1 data representing the Security Object Document content.
View on GitHub
SOD Class Reference