Documentation ¶
Overview ¶
package auth provides methods to implement managed instances auth support
Index ¶
Constants ¶
View Source
const (
// KeyType returns the RSA Key Type
KeyType = "Rsa"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RsaKey ¶
type RsaKey struct {
// contains filtered or unexported fields
}
func CreateKeypair ¶
CreateKeypair creates a new RSA keypair
func DecodePrivateKey ¶
DecodePrivateKey decodes a private key from a base 64 DER encoded string
func (*RsaKey) EncodePrivateKey ¶
EncodePrivateKey encodes a private key to a base 64 DER encoded string
func (*RsaKey) EncodePublicKey ¶
EncodePublicKey encodes a public key to a base 64 DER encoded string
Click to show internal directories.
Click to hide internal directories.