Documentation ¶
Rendered for darwin/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Identity ¶
type Identity interface { // Certificate gets the identity's certificate. Certificate() (*x509.Certificate, error) // CertificateChain attempts to get the identity's full certificate chain. CertificateChain() ([]*x509.Certificate, error) // Signer returns a crypto.Signer that uses the identity's private key. Signer() crypto.Signer // Decrypter returns a crypto.Decrypter that uses the identity's private key. Decrypter() crypto.Decrypter // PrivateKey returns a crypto.PrivateKey that uses the identity's private key. PrivateKey() crypto.PrivateKey // Delete deletes this identity from the system. Delete() error // Close any manually managed memory held by the Identity. Close() }
Identity is a X.509 certificate and its corresponding private key.
func Identities ¶
Identities lists existing identities from CryptoTokenKit
Click to show internal directories.
Click to hide internal directories.