KeypackageRef
open class KeypackageRef : KeypackageRefProtocol, @unchecked Sendable
A lightweight distinct reference to a KeyPackage, sufficient to uniquely identify it.
This contains some metadata to assist in sorting and filtering refs without needing to perform the relatively heavy operation of converting to a full keypackage.
-
Get the ciphersuite associated with this key package ref.
Declaration
Swift
open func ciphersuite() -> Ciphersuite -
Get the credential type associated with this key package ref.
Declaration
Swift
open func credentialType() -> CredentialType -
Get the bytes of the hash reference to a keypackage.
Declaration
Swift
open func hashRef() -> Data -
Returns true if this keypackage’s lifetime has not expired, or if no lifetime is present.
Declaration
Swift
open func isValid() -> Bool -
Get the signature scheme associated with this key package ref.
Declaration
Swift
open func signatureScheme() -> SignatureScheme