mixin

PrivKeyEntry

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

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

cert virtual Cert cert()

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

certChain abstract Cert[] certChain()

Get the certificate chain from this entry.

keyPair abstract KeyPair keyPair()

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

priv abstract PrivKey priv()

Get the private key from this entry.

pub virtual PubKey pub()

Convenience to get the public key from the cert.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST