Documentation ¶
Index ¶
Constants ¶
View Source
const ProviderName = "RSA"
Variables ¶
This section is empty.
Functions ¶
func NewRSAKeyPairFactory ¶
func NewRSAKeyPairFactory(bits int) keys.KeyPairFactory
func StandardKeys ¶
func StandardKeys() []keys.KeyPairFactory
Types ¶
type RSAKeyPair ¶
type RSAKeyPair struct {
// contains filtered or unexported fields
}
func (*RSAKeyPair) Private ¶
func (keypair *RSAKeyPair) Private() crypto.PrivateKey
func (*RSAKeyPair) Public ¶
func (keypair *RSAKeyPair) Public() crypto.PublicKey
type RSAKeyPairFactory ¶
type RSAKeyPairFactory struct {
// contains filtered or unexported fields
}
func (*RSAKeyPairFactory) Name ¶
func (factory *RSAKeyPairFactory) Name() string
Click to show internal directories.
Click to hide internal directories.