Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { *options.Options SymAlgMode SigCreationTime *values.DateTime KeyCreationTime *values.DateTime }
Context class fir parsing packets
type SymAlgMode ¶
type SymAlgMode int
SymAlgMode as Sym. algorithm mode
const ( //ModeNotSpecified as Not Specified ModeNotSpecified SymAlgMode = iota //ModeSymEnc as Sym. Encryption Mode ModeSymEnc //ModePubEnc as Pubkey Encryption Mode ModePubEnc )
func (SymAlgMode) IsPubEnc ¶
func (mode SymAlgMode) IsPubEnc() bool
IsPubEnc is true when mode is ModePubEnc
func (SymAlgMode) IsSymEnc ¶
func (mode SymAlgMode) IsSymEnc() bool
IsSymEnc is true when mode is ModeSymEnc
func (*SymAlgMode) SetAlgPubEnc ¶
func (mode *SymAlgMode) SetAlgPubEnc()
SetAlgPubEnc sets SymAlgMode to SymAlgModePubEnc
func (*SymAlgMode) SetAlgSymEnc ¶
func (mode *SymAlgMode) SetAlgSymEnc()
SetAlgSymEnc sets SymAlgMode to SymAlgModeSymEnc
func (SymAlgMode) String ¶ added in v0.3.2
func (mode SymAlgMode) String() string
Click to show internal directories.
Click to hide internal directories.