package
0.0.6-alpha.1
Repository: https://github.com/jeremyhahn/go-trusted-platform.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Returns a map of crypto.Hash supported by the platform.
Returns a map of available key algorithms supported by the platform.
Returns a map of available signature algorithms supported by the platform.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Decodes PEM encoded bytes to crypto.PrivateKey.
Decodes and returns an ASN.1 DER - PEM encoded - RSA Public Key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates a new digest using the specified hash function.
Encodes an ASN.1 DER form public key to PEM form.
Encodes a private key to ASN.1 DER PKCS #8 form.
Encodes a DER ASN.1 private key to PEM form https://github.com/openssl/openssl/blob/master/include/openssl/pem.h.
Encodes any public key (RSA/ECC) to ASN.1 DER form.
Encodes a public key to PEM form.
Converts an x509.PublicKeyAlgorithm to a platform file extension.
Converts crypto.Hash to platform file extension prefix.
Converts keystore.KeyAttributes to a platform file extension.
Converts a hash function name to a file extension.
No description provided by the author
Returns true if the signature algorithm is one of RSA PSS.
No description provided by the author
Parses the provided KeyConfig and returns KeyAttributes.
Prefixes a key algorithm name to file extension.
Creates a new clear text password stored in memory.
Creates a new clear text password stored in memory from a string.
No description provided by the author
No description provided by the author
Create an opaque private key backed by the underlying key store.
No description provided by the author
No description provided by the author
Provides blob storage for signed data.
Returns a new key attributes template defaulted to RSA 2048.
Verifies a signature.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Serializes the public key using the specified serializer and returns a non-cryptographic hash of the serialized key.
No description provided by the author
Returns secret combined from shares split using Shamir's Secret Sharing algorithm.
Returns a secret split into shares using the Shamir Secret Sharing algorithm.
No description provided by the author
Return a template for the given key algorithm Supported Algorithms: - RSA - ECDSA - Ed25519 Returns ErrInvalidKeyAlgorithm or ErrInvalidKeyType for respective errors.
Parses the provided algorithm and returns the requested template or ErrInvalidKeyAlgorithm if the algorithm is not RSA, ECDSA, or Ed25519.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Key store file extensions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Internal types not stored in the platform configuration file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Key store file backend sub directories.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
String literals using in platform configuration file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
The Key Store Module interface.
No description provided by the author
Passwords are a type of secret that are often used to access computer systems or enter a place, such as a protected vault.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author