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
}
- 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
(String version, String digestAlgorithm, ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo) -
Method Summary
Methods inherited from class com.authlete.cbor.CBORPairList
encode, findByKey, getPairs, parse, prettify, toString
Methods 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 ofMobileSecurityObject
("1.0", "SHA-256", valueDigests, deviceKeyInfo, docType, validityInfo)
. -
MobileSecurityObject
public MobileSecurityObject(String version, String digestAlgorithm, ValueDigests valueDigests, DeviceKeyInfo deviceKeyInfo, String docType, ValidityInfo validityInfo)
-