Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keychain ¶
type Keychain struct {
// contains filtered or unexported fields
}
Keychain holds many public keys and private keys.
func (*Keychain) RandKey ¶
func (k *Keychain) RandKey() *PrivateKey
RandKey returns a random private key.
type PrivateKey ¶
type PrivateKey struct { Kid string Key *rsa.PrivateKey }
PrivateKey holds the internal state of the private key.
Click to show internal directories.
Click to hide internal directories.