identity

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 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