peridot/vendor/github.com/ProtonMail/gopenpgp/v2/crypto/message_getters.go

15 lines
340 B
Go
Raw Normal View History

2022-07-07 20:11:50 +00:00
//go:build !android
// +build !android
package crypto
// GetFilename returns the file name of the message as a string.
func (msg *PlainMessage) GetFilename() string {
return msg.Filename
}
// GetTime returns the modification time of a file (if provided in the ciphertext).
func (msg *PlainMessage) GetTime() uint32 {
return msg.Time
}