const mixin crypto::PrivKeyEntry
crypto::PrivKeyEntry : crypto::KeyStoreEntry
A PrivKeyEntry stores a private key and the certificate chain for the corresponding public key.
- cert
-
virtual Cert cert()
Get the end entity certificate from the certificate chain; this should be the first entry in the
certChain
. - certChain
-
abstract List<Cert> certChain()
Get the certificate chain from this entry.
- keyPair
-
abstract KeyPair keyPair()
Get the
KeyPair
for the entry. It consists of thepriv
andpub
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
.