KeyPair

public struct KeyPair

A struct representing a cryptographic key pair, containing a public and a private key.

  • The public key component of the key pair.

    Declaration

    Swift

    public let publicKey: SecKey
  • The private key component of the key pair.

    Declaration

    Swift

    public let privateKey: SecKey
  • The tag that uniquely identifies the key pair in the Keychain.

    Declaration

    Swift

    public let keyTag: String