What's New / Privacy, Security & Identity

What's new in IdentityDocumentServices

+4 NewiOS · macOS

IdentityDocumentServices handles ISO 18013 mobile documents such as mobile driver's licenses. Its API covers the request and registration types apps use to read and present these documents.

The 27 SDK adds 4 APIs and removes none. ISO18013MobileDocumentRequest.DocumentRequest gains an issuerKeyIdentifiers property and a new init. MobileDocumentRegistration gains a supportedIssuerKeyIdentifiers property and a new init. The additions identify documents by issuer key.

New

4
init

ISO18013MobileDocumentRequest.DocumentRequest.init

NewiOSmacOS
public 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

NewiOSmacOS
public 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

NewiOS
public 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

NewiOS
public 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.

No APIs match your filter.

← More in Privacy, Security & Identity