type golang.org/x/crypto/openpgp/packet.Config
29 uses
golang.org/x/crypto/openpgp/packet (current package)
config.go#L16: type Config struct {
config.go#L51: func (c *Config) Random() io.Reader {
config.go#L58: func (c *Config) Hash() crypto.Hash {
config.go#L65: func (c *Config) Cipher() CipherFunction {
config.go#L72: func (c *Config) Now() time.Time {
config.go#L79: func (c *Config) Compression() CompressionAlgo {
config.go#L86: func (c *Config) PasswordHashIterations() int {
encrypted_key.go#L74: func (e *EncryptedKey) Decrypt(priv *PrivateKey, config *Config) error {
encrypted_key.go#L141: func SerializeEncryptedKey(w io.Writer, pub *PublicKey, cipherFunc CipherFunction, key []byte, config *Config) error {
signature.go#L511: func (sig *Signature) Sign(h hash.Hash, priv *PrivateKey, config *Config) (err error) {
signature.go#L578: func (sig *Signature) SignUserId(id string, pub *PublicKey, priv *PrivateKey, config *Config) error {
signature.go#L589: func (sig *Signature) SignKey(pub *PublicKey, priv *PrivateKey, config *Config) error {
symmetric_key_encrypted.go#L103: func SerializeSymmetricKeyEncrypted(w io.Writer, passphrase []byte, config *Config) (key []byte, err error) {
symmetrically_encrypted.go#L256: func SerializeSymmetricallyEncrypted(w io.Writer, c CipherFunction, key []byte, config *Config) (contents io.WriteCloser, err error) {
golang.org/x/crypto/openpgp
keys.go#L506: func NewEntity(name, comment, email string, config *packet.Config) (*Entity, error) {
keys.go#L592: func (e *Entity) SerializePrivate(w io.Writer, config *packet.Config) (err error) {
keys.go#L669: func (e *Entity) SignIdentity(identity string, signer *Entity, config *packet.Config) error {
read.go#L86: func ReadMessage(r io.Reader, keyring KeyRing, prompt PromptFunction, config *packet.Config) (md *MessageDetails, err error) {
write.go#L23: func DetachSign(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) error {
write.go#L30: func ArmoredDetachSign(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) (err error) {
write.go#L38: func DetachSignText(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) error {
write.go#L46: func ArmoredDetachSignText(w io.Writer, signer *Entity, message io.Reader, config *packet.Config) error {
write.go#L50: func armoredDetachSign(w io.Writer, signer *Entity, message io.Reader, sigType packet.SignatureType, config *packet.Config) (err error) {
write.go#L62: func detachSign(w io.Writer, signer *Entity, message io.Reader, sigType packet.SignatureType, config *packet.Config) (err error) {
write.go#L109: func SymmetricallyEncrypt(ciphertext io.Writer, passphrase []byte, hints *FileHints, config *packet.Config) (plaintext io.WriteCloser, err error) {
write.go#L172: func writeAndSign(payload io.WriteCloser, candidateHashes []uint8, signed *Entity, hints *FileHints, config *packet.Config) (plaintext io.WriteCloser, err error) {
write.go#L260: func Encrypt(ciphertext io.Writer, to []*Entity, signed *Entity, hints *FileHints, config *packet.Config) (plaintext io.WriteCloser, err error) {
write.go#L345: func Sign(output io.Writer, signed *Entity, hints *FileHints, config *packet.Config) (input io.WriteCloser, err error) {
write.go#L376: config *packet.Config
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |