KeyId uint64
Algo PublicKeyAlgorithm
Encrypted []byte
- CipherFunc CipherFunction // only valid after a sucessful Decrypt
- Key []byte // only valid after a sucessful Decrypt
+ CipherFunc CipherFunction // only valid after a successful Decrypt
+ Key []byte // only valid after a successful Decrypt
}
func (e *EncryptedKey) parse(r io.Reader) (err os.Error) {
type LiteralData struct {
IsBinary bool
FileName string
- Time uint32 // Unix epoc time. Either creation time or modification time. 0 means undefined.
+ Time uint32 // Unix epoch time. Either creation time or modification time. 0 means undefined.
Body io.Reader
}
-// ForEyesOnly return whether the contents of the LiteralData have been marked
+// ForEyesOnly returns whether the contents of the LiteralData have been marked
// as especially sensitive.
func (l *LiteralData) ForEyesOnly() bool {
return l.FileName == "_CONSOLE"