identity

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	// Types include:
	// - *rsa.PublicKey
	// - *ecdsa.PublicKey
	// - ed25519.PublicKey
	// - *x509.Certificate
	// - openpgp.EntityList (golang.org/x/crypto/openpgp)
	// - *minisign.PublicKey (github.com/jedisct1/go-minisign)
	// - ssh.PublicKey (golang.org/x/crypto/ssh)
	Crypto any
	// Raw key or certificate extracted from Crypto. Values include:
	// - PKIX ASN.1 DER-encoded public key
	// - ASN.1 DER-encoded certificate
	Raw []byte
	// For keys, certificates, and minisign, hex-encoded SHA-256 digest
	// of the public key or certificate
	// For SSH and PGP, Fingerprint is the standard for each ecosystem
	// For SSH, unpadded base-64 encoded SHA-256 digest of the key
	// For PGP, hex-encoded SHA-1 digest of a key, which can be either
	// a primary key or subkey
	Fingerprint string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL