Documentation
¶
Index ¶
Constants ¶
View Source
const ( SymAlgModeNotSpecified = SymAlgMode(0) SymAlgModeSymEnc = SymAlgMode(1) SymAlgModePubEnc = SymAlgMode(2) )
constant
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Hflag bool //output this help
Vflag bool //output version
Aflag bool //accepts ASCII input only
Dflag bool //for debug
Gflag bool //selects alternate dump format (not used)
Iflag bool //dumps multi-precision integers
Jflag bool //output with JSON format
Lflag bool //dumps literal packets (tag 11)
Mflag bool //dumps marker packets (tag 10)
Pflag bool //dumps private packets (tag 60-63)
Uflag bool //output UTC time
SigCreationTime int64
KeyCreationTime int64
Mode SymAlgMode
}
Options for gpgpdump
func (*Options) GetSymAlgMode ¶
func (opt *Options) GetSymAlgMode() SymAlgMode
GetSymAlgMode get SymAlgMode
func (*Options) ResetSymAlgMode ¶
func (opt *Options) ResetSymAlgMode()
ResetSymAlgMode reset SymAlgMode
func (*Options) SetSymAlgModePubEnc ¶
func (opt *Options) SetSymAlgModePubEnc()
SetSymAlgModePubEnc set SymAlgMode to SymAlgModePubEnc
func (*Options) SetSymAlgModeSymEnc ¶
func (opt *Options) SetSymAlgModeSymEnc()
SetSymAlgModeSymEnc set SymAlgMode to SymAlgModeSymEnc
type SymAlgMode ¶
type SymAlgMode int
SymAlgMode -Sym. algorithm mode
func (SymAlgMode) String ¶
func (m SymAlgMode) String() string
Click to show internal directories.
Click to hide internal directories.