Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrivatekeyParser ¶
func PrivatekeyParser(prvkey []byte) (*rsa.PrivateKey, error)
Types ¶
type CipherInput ¶
type CipherInput struct { Metadata map[string]string `yaml:"metadata"` Spec EncryptedData `yaml:"spec"` }
func ParseCipherYaml ¶
func ParseCipherYaml(sealedyamlpath string) *CipherInput
type DecodedInput ¶
type DecodedInput struct { Privatekey *rsa.PrivateKey Publickey *rsa.PublicKey Data map[string][]byte Label []byte }
func SecretDecoder ¶
func SecretDecoder(keyinput KeyInput, cipherinput CipherInput) (*DecodedInput, error)
type EncryptedData ¶
Click to show internal directories.
Click to hide internal directories.