Class MobileSecurityObject
java.lang.Object
com.authlete.cbor.CBORItem
com.authlete.cbor.CBORPairList
com.authlete.mdoc.MobileSecurityObject
The
MobileSecurityObject structure.
For details, see ISO/IEC 18013-5:2021, 9.1.2.4 Signing method and structure for MSO.
Definition
MobileSecurityObject = {
"version" : tstr, ; Version of the MobileSecurityObject
"digestAlgorithm" : tstr, ; Message digest algorithm used
"valueDigests" : ValueDigests, ; Digests of all data elements per namespace
"deviceKeyInfo" : DeviceKeyInfo,
"docType" : tstr, ; docType as used in Documents
"validityInfo" : ValidityInfo
}
Additional Parameters
The Token
Status List specification introduces a new status parameter to be used
with the Status List mechanism.
ISO mdoc [ISO.mdoc] may utilize the Status List mechanism by introducing the
statusparameter in the Mobile Security Object (MSO) as specified in Section 9.1.2 of [ISO.mdoc]. Thestatusparameter contains theStatusCBOR structure as described in Section 6.3.
- Since:
- 1.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMobileSecurityObject(ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo) A constructor with the default version and the default digest algorithm.MobileSecurityObject(ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo, Status status) A constructor with the default version and the default digest algorithm.MobileSecurityObject(String version, String digestAlgorithm, ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo) MobileSecurityObject(String version, String digestAlgorithm, ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo, Status status) -
Method Summary
Methods inherited from class com.authlete.cbor.CBORPairList
encode, findByKey, getPairs, parse, prettify, toStringMethods inherited from class com.authlete.cbor.CBORItem
encode, encodeMajorWithNumber, encodeToBase64, encodeToBase64Url, encodeToHex, getComment, prettify, setComment, toString
-
Constructor Details
-
MobileSecurityObject
public MobileSecurityObject(ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo) A constructor with the default version and the default digest algorithm.This constructor is an alias of
MobileSecurityObject("1.0", "SHA-256", valueDigests, deviceKeyInfo, docType, validityInfo). -
MobileSecurityObject
public MobileSecurityObject(ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo, Status status) A constructor with the default version and the default digest algorithm.This constructor is an alias of
MobileSecurityObject("1.0", "SHA-256", valueDigests, deviceKeyInfo, docType, validityInfo, status). -
MobileSecurityObject
public MobileSecurityObject(String version, String digestAlgorithm, ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo) -
MobileSecurityObject
public MobileSecurityObject(String version, String digestAlgorithm, ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo, Status status)
-