Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Rsa ¶
type Rsa struct { Private *rsa.PrivateKey Public *rsa.PublicKey }
Rsa...
func (*Rsa) ReadPrivateKey ¶
ReadPrivateKey takes in the private key bytes and decodes and sets the private and public key
func (*Rsa) ReadPublicKey ¶
ReadPrivateKey takes in the public key bytes and decodes and sets the public key only
func (Rsa) WritePrivateKey ¶
WritePrivateKey encodes the rsa.Private key to the io.Writer
Click to show internal directories.
Click to hide internal directories.