type

PrivKeyEntry

src const mixin PrivKeyEntry : KeyStoreEntry

A PrivKeyEntry stores a private key and the certificate chain for the corresponding public key.

methods

cert

Get the end entity certificate from the certificate chain; this should be the first entry in the certChain.

certChain

Get the certificate chain from this entry.

keyPair

Get the KeyPair for the entry.

priv

Get the private key from this entry.

pub

Convenience to get the public key from the cert.

Slot Details

cert

src virtual Cert cert()

Get the end entity certificate from the certificate chain; this should be the first entry in the certChain.

certChain

src abstract Cert[] certChain()

Get the certificate chain from this entry.

keyPair

src abstract KeyPair keyPair()

Get the KeyPair for the entry. It consists of the priv and pub keys from this entry.

priv

src abstract PrivKey priv()

Get the private key from this entry.

pub

src virtual PubKey pub()

Convenience to get the public key from the cert.