# Packages
No description provided by the author
# Functions
CreateRsaKey generates a new private key.
DeleteKeyringPassword removes all key that matches "service" and "user".
No description provided by the author
GenerateCACertificate generates a certificate for a CA.
GenerateServiceCertificate generates a certificate for a service.
GetKeyringPassword retrieves a password from the keyring.
No description provided by the author
No description provided by the author
LoadCertificate loads file contenant and decodes it into a x509.Certificate.
LoadPrivateKey loads the encrypted private key from the passed file and decrypts it.
No description provided by the author
NewAESGCMMaterials creates an encryption materials that use AES GCM.
No description provided by the author
NewLegacyAESGCMMaterials creates an encryption materials that uses legacy material.
No description provided by the author
No description provided by the author
PublicKeyFromRsaKey extracts the public key.
No description provided by the author
RsaKeyFromPEM parses a PEM string.
RsaKeyFromPEMFile loads a PEM file and parses the private key.
RsaKeyToPEM encodes the private key in PEM format.
RsaPublicKeyToPEM encodes the public key to PEM format.
No description provided by the author
No description provided by the author
SetKeyringPassword base64-encodes password and stores it.
StoreCertificate encodes certificate and stores the result in file.
StorePrivateKey encrypts the private key and stores it in the returned file.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
AESGCMEncryptionMaterials implements AES-GCM encryption.
EncryptedBlock describes block.
EncryptedBlockHeader describes headers.
EncryptedBlockHeaderOption describes header.
Options EncryptedBlockHeaderOptions.
Template specs for generating a certificate.
# Interfaces
No description provided by the author