Documentation ¶
Index ¶
- Variables
- func GenFilePath(filePath string, name string, extension string) string
- func GenerateRandomThreeBytesSN() (*big.Int, error)
- func GenerateUserRequestedKey(e EncryptionAlgorithm) (privateKey any, publicKey any, err error)
- func InputPrompt(label string) string
- type CertGenConfig
- type CertificateMetadata
- type EncryptionAlgorithm
- type SupportedEnc
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateUserRequestedKey ¶ added in v0.3.0
func GenerateUserRequestedKey(e EncryptionAlgorithm) (privateKey any, publicKey any, err error)
func InputPrompt ¶
Types ¶
type CertGenConfig ¶ added in v0.3.0
type CertGenConfig struct { CertificateMetadata CertificateMetadata EncryptionAlgorithm EncryptionAlgorithm }
func ParseCertGenConfig ¶ added in v0.3.0
func ParseCertGenConfig(path string) (*CertGenConfig, error)
type CertificateMetadata ¶ added in v0.3.0
type EncryptionAlgorithm ¶ added in v0.3.0
func (*EncryptionAlgorithm) ParseSupportedEnc ¶ added in v0.3.0
func (em *EncryptionAlgorithm) ParseSupportedEnc() SupportedEnc
func (*EncryptionAlgorithm) ValidateEncryptionBitsRequested ¶ added in v0.3.0
func (em *EncryptionAlgorithm) ValidateEncryptionBitsRequested() error
type SupportedEnc ¶ added in v0.3.0
type SupportedEnc string
const ( Undefined SupportedEnc = "Undefined" RSA SupportedEnc = "RSA" EDCSA SupportedEnc = "EDCSA" )
Click to show internal directories.
Click to hide internal directories.