Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertificate ¶
GetCertificate returns the X.509 certificate for the given serial number. As of today, this will probably not work as we need to think about how to delegate kernel asymmetric keys to user space.
func GetPrivateKey ¶
GetPrivateKey returns the private key for the given serial number. As of today, this will probably not work as we need to think about how to delegate kernel asymmetric keys to user space.
Types ¶
type KeySerial ¶
type KeySerial int32
KeySerial is a unique identifier for a key in the kernel keyring.
func CreateCertificate ¶
func CreateCertificate(cert *x509.Certificate, peerName string) (KeySerial, error)
CreateCertificate creates a key containing the peer's certificate.
Click to show internal directories.
Click to hide internal directories.