Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeRSAPrivateKey = "RSA PRIVATE KEY" DefaultBitsSize = 4096 )
Variables ¶
View Source
var (
ErrFailedToParsePEMBlock = errors.New("failed to parse PEM block containing the public key")
)
All kind of errors
Functions ¶
This section is empty.
Types ¶
type RSA ¶
type RSA struct {
// contains filtered or unexported fields
}
func FromPrivateKey ¶
func (*RSA) FromBinary ¶
func (a *RSA) FromBinary(raw []byte) (localCipher.Cipher, error)
Click to show internal directories.
Click to hide internal directories.