type golang.org/x/crypto/openpgp/packet.PublicKey
43 uses
golang.org/x/crypto/openpgp/packet (current package)
encrypted_key.go#L141: func SerializeEncryptedKey(w io.Writer, pub *PublicKey, cipherFunc CipherFunction, key []byte, config *Config) error {
packet.go#L388: p = &PublicKey{IsSubkey: isSubkey}
private_key.go#L29: PublicKey
public_key.go#L153: type PublicKey struct {
public_key.go#L183: func NewRSAPublicKey(creationTime time.Time, pub *rsa.PublicKey) *PublicKey {
public_key.go#L184: pk := &PublicKey{
public_key.go#L197: func NewDSAPublicKey(creationTime time.Time, pub *dsa.PublicKey) *PublicKey {
public_key.go#L198: pk := &PublicKey{
public_key.go#L213: func NewElGamalPublicKey(creationTime time.Time, pub *elgamal.PublicKey) *PublicKey {
public_key.go#L214: pk := &PublicKey{
public_key.go#L227: func NewECDSAPublicKey(creationTime time.Time, pub *ecdsa.PublicKey) *PublicKey {
public_key.go#L228: pk := &PublicKey{
public_key.go#L258: func (pk *PublicKey) parse(r io.Reader) (err error) {
public_key.go#L305: func (pk *PublicKey) setFingerPrintAndKeyId() {
public_key.go#L316: func (pk *PublicKey) parseRSA(r io.Reader) (err error) {
public_key.go#L344: func (pk *PublicKey) parseDSA(r io.Reader) (err error) {
public_key.go#L373: func (pk *PublicKey) parseElGamal(r io.Reader) (err error) {
public_key.go#L398: func (pk *PublicKey) SerializeSignaturePrefix(h io.Writer) {
public_key.go#L426: func (pk *PublicKey) Serialize(w io.Writer) (err error) {
public_key.go#L464: func (pk *PublicKey) serializeWithoutHeaders(w io.Writer) (err error) {
public_key.go#L498: func (pk *PublicKey) CanSign() bool {
public_key.go#L504: func (pk *PublicKey) VerifySignature(signed hash.Hash, sig *Signature) (err error) {
public_key.go#L552: func (pk *PublicKey) VerifySignatureV3(signed hash.Hash, sig *SignatureV3) (err error) {
public_key.go#L612: func (pk *PublicKey) VerifyKeySignature(signed *PublicKey, sig *Signature) error {
public_key.go#L656: func (pk *PublicKey) VerifyRevocationSignature(sig *Signature) (err error) {
public_key.go#L666: func userIdSignatureHash(id string, pk *PublicKey, hashFunc crypto.Hash) (h hash.Hash, err error) {
public_key.go#L690: func (pk *PublicKey) VerifyUserIdSignature(id string, pub *PublicKey, sig *Signature) (err error) {
public_key.go#L700: func (pk *PublicKey) VerifyUserIdSignatureV3(id string, pub *PublicKey, sig *SignatureV3) (err error) {
public_key.go#L710: func (pk *PublicKey) KeyIdString() string {
public_key.go#L716: func (pk *PublicKey) KeyIdShortString() string {
public_key.go#L741: func (pk *PublicKey) BitLength() (bitLength uint16, 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 {
golang.org/x/crypto/openpgp
keys.go#L27: PrimaryKey *packet.PublicKey
keys.go#L46: PublicKey *packet.PublicKey
keys.go#L55: PublicKey *packet.PublicKey
keys.go#L305: if pk, ok := p.(*packet.PublicKey); ok && !pk.IsSubkey {
keys.go#L324: if e.PrimaryKey, ok = p.(*packet.PublicKey); !ok {
keys.go#L370: case *packet.PublicKey:
keys.go#L437: func addSubkey(e *Entity, packets *packet.Reader, pub *packet.PublicKey, priv *packet.PrivateKey) error {
 |
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. |