SecurityStatus
public struct SecurityStatus
Use-cases for getting the security status for particular objects/references gemSpec_COS#14.7.3
-
Read the security status for a given symmetric key - gemSpec_COS#14.7.3.1
Declaration
Swift
public static func readStatusFor(symmetricKey: Key, dfSpecific: Bool) throws -> HealthCardCommand
Return Value
the command
-
Read the security status for a given CHA - gemSpec_COS#14.7.3.2
Declaration
Swift
public static func readStatusFor(rsaCvc key: Data) throws -> HealthCardCommand
Parameters
key
Certificate Holder Authorization (CHA). Must be 7 bytes long
Return Value
the command
-
Read the security status for the given list of bits - gemSpec_COS#14.7.3.3
Declaration
Swift
public static func readStatusFor(bitList flags: Data, oid: ASN1Kit.ObjectIdentifier) throws -> HealthCardCommand
Parameters
flags
7 Bytes gemSpec_COS #N085.442
oid
{oid_cvc_fl_ti, oid_cvc_fl_cms} gemSpec_COS #N085.440
Return Value
the command