Versions in this module Expand all Collapse all v0 v0.0.2 Mar 2, 2021 v0.0.1 Sep 25, 2020 Changes in this version + const DefaultPasswordLength + type Certificate struct + Certificate []byte + IsCA bool + PrivateKey []byte + type CertificateGenerationRequest struct + AlternativeNames []string + CA Certificate + CommonName string + IsCA bool + type Generator interface + GenerateCertificate func(name string, request CertificateGenerationRequest) (Certificate, error) + GenerateCertificateSigningRequest func(request CertificateGenerationRequest) ([]byte, []byte, error) + GeneratePassword func(name string, request PasswordGenerationRequest) string + GenerateRSAKey func(name string) (RSAKey, error) + GenerateSSHKey func(name string) (SSHKey, error) + type PasswordGenerationRequest struct + Length int + type RSAKey struct + PrivateKey []byte + PublicKey []byte + type SSHKey struct + Fingerprint string + PrivateKey []byte + PublicKey []byte