pub unsafe static HKMetadataKeyDigitalSignature: &'static NSStringAvailable on crate feature
HKMetadata only.Expand description
Represents a digital signature validating the origin of an HKObject’s value.
Intended to provide data integrity for sample data produced by trusted (tamper resistant) measuring devices. The digital signature format should be CMS (Cryptographic Message Syntax specified in IETF RFC 5652). It should be a “Signed-data” type signature containing the data items to be signed (e.g., timestamp, value, etc.) using ASN.1 encoding with DER (Distinguished Encoding Rules). The entire enveloping signature should be further encoded using base64. Recommended digest is SHA256, and recommended cipher is FIPS PUB 186-4 Digital Signature Standard Elliptic Curve P-256. See documentation for details.
See also Apple’s documentation