Skip to main content

KeyPair

A representation of an asymmetric key pair

type KeyPair {
id: ID!
location: KeyStorageLocation!
driver: KeyStorageDriver!
parameterSet: KeyParameterSet!
creationTime: DateTime!
publicKey: String!
imported: Boolean!
exportable: Boolean!
usage: KeyUsage!
attributes: [KeyAttribute!]
}

Fields

KeyPair.id ● ID! non-null scalar

The UUID of the key pair

KeyPair.location ● KeyStorageLocation! non-null object

The Key Storage Location where this key pair resides

KeyPair.driver ● KeyStorageDriver! non-null object

The Key Storage Driver that hosts the Key Storage Location where this Key Pair resides

KeyPair.parameterSet ● KeyParameterSet! non-null enum

The PKCS#11 CKK_ key type of the key

KeyPair.creationTime ● DateTime! non-null scalar

The ISO8601 date/time that the key was created on

KeyPair.publicKey ● String! non-null scalar

A PEM representation of the public key data

KeyPair.imported ● Boolean! non-null scalar

True if the private key material was imported, indicating that there is a possibility that the key material exists in another location

KeyPair.exportable ● Boolean! non-null scalar

True if the private key material can be exported

KeyPair.usage ● KeyUsage! non-null object

The cryptographic operation usages this key pair is meant for

KeyPair.attributes ● [KeyAttribute!] list object

A set of driver specific attributes, providing additional details about the Key Pair.

Returned By

keyPair query

Member Of

CodeSignKeyPairValues object ● KeyPairEdge object ● KeyPairsConnection object