init
ISO18013MobileDocumentRequest.DocumentRequest.init
NewiOSmacOSpublic init(documentType: String, namespaces: [String : [String : ISO18013MobileDocumentRequest.ElementInfo]], issuerKeyIdentifiers: [Data])
Initialize a document request.
Parameters
documentType- The document type being requested.
namespaces- The namespaces in the document to request.
issuerKeyIdentifiers- A list of X.509 authority key identifiers corresponding to the issuer certificates accepted by the relying party.
var
ISO18013MobileDocumentRequest.DocumentRequest.issuerKeyIdentifiers
NewiOSmacOSpublic var issuerKeyIdentifiers: [Data]
A list of X.509 authority key identifiers corresponding to the issuer certificates accepted by the relying party.
An empty list means any document signer certificate is acceptable.
Warning: The number of issuer key identifiers must not exceed 1,000 and the size of each identifier must not exceed 64 bytes.
init
MobileDocumentRegistration.init
NewiOSpublic init(mobileDocumentType: String, supportedIssuerKeyIdentifiers: [Data], supportedAuthorityKeyIdentifiers: [Data], documentIdentifier: String = UUID().uuidString, invalidationDate: Date? = nil)
Initialize a mobile document registration with issuer key identifiers.
Parameters
mobileDocumentType- The type of the mobile document.
supportedIssuerKeyIdentifiers- A list of X.509 authority key identifiers that correspond to the document signer certificate chain for the mobile document.
supportedAuthorityKeyIdentifiers- A list of authority key identifiers that correspond to relying party authorizers that are trusted by the document provider app.
documentIdentifier- An identifier that uniquely refers to the document that is registered. If not provided, a random unique identifier will be chosen.
invalidationDate- A date that indicates when this registration should be invalidated. This can be used in scenarios where the expiration time period of a document is known.
var
MobileDocumentRegistration.supportedIssuerKeyIdentifiers
NewiOSpublic var supportedIssuerKeyIdentifiers: [Data]
A list of X.509 authority key identifiers that correspond to the document signer certificate chain for the mobile document.
An issuer key identifier is an authority key identifier from the document signer certificate chain.
Warning: The number of issuer key identifiers must not exceed 1,000 and the size of each identifier must not exceed 64 bytes.