Documentation
¶
Index ¶
- func DumpByte(data []byte) string
- func GetBytes(reader io.Reader, size int) ([]byte, error)
- func Octets2Int(octets []byte) uint64
- func Octets2IntLE(octets []byte) uint16
- func RFC3339(unix int64, utc bool) string
- type CompAlg
- type Expire
- type HashAlg
- type KeyID
- type LiteralFname
- type LiteralFormat
- type MPI
- type Msgs
- type PubAlg
- type RawData
- type S2KAlg
- type SigType
- type SymAlg
- type Tag
- type UNIXTime
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Octets2Int ¶
Octets2Int returns integer from two-octets data
func Octets2IntLE ¶
Octets2IntLE returns integer from two-octets data (by little endian)
Types ¶
type Expire ¶
type Expire struct {
// contains filtered or unexported fields
}
Expire - Expiration Time
type LiteralFormat ¶
type LiteralFormat byte
LiteralFormat is format of literal data
func (LiteralFormat) String ¶
func (l LiteralFormat) String() string
type RawData ¶
type RawData struct {
// contains filtered or unexported fields
}
RawData - raw data
func LiteralData ¶
LiteralData returns new RawData instance for Literal data
func NewRawData ¶
NewRawData returns new RawData instance
type UNIXTime ¶
type UNIXTime struct {
// contains filtered or unexported fields
}
UNIXTime - UNIX Time
func NewUNIXTime ¶
NewUNIXTime returns new UNIXTime instance
func PubKeyTime ¶
PubKeyTime returns UNIXTime instance for Public key creation time
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
Version - information version
func PubSessKeyVer ¶
PubSessKeyVer is Public-Key Encrypted Session Key Packet Version
func SymSessKeyVer ¶
SymSessKeyVer is Symmetric-Key Encrypted Session Key Packet Version
Click to show internal directories.
Click to hide internal directories.