package
1.0.1
Repository: https://github.com/go-compile/rome.git
Documentation: pkg.go.dev

# Functions

MarshalECPrivateKey converts an EC private key to SEC 1, ASN.1 DER form.
MarshalPKCS1PrivateKey converts an RSA private key to PKCS #1, ASN.1 DER form.
MarshalPKCS8PrivateKey converts a private key to PKCS #8, ASN.1 DER form.
MarshalPKIXPublicKey converts a public key to PKIX, ASN.1 DER form.
ParseECPrivateKey parses an EC private key in SEC 1, ASN.1 DER form.
ParsePKCS1PrivateKey parses an RSA private key in PKCS #1, ASN.1 DER form.
ParsePKCS8PrivateKey parses an unencrypted private key in PKCS #8, ASN.1 DER form.
ParsePKIXPublicKey parses a public key in PKIX, ASN.1 DER form.

# Constants

Unsupported.
Unsupported.
Unsupported.
No description provided by the author
Only supported for signing, not verification.
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
Unsupported.
Only supported for signing, not verification.
No description provided by the author
No description provided by the author
Only supported for signing, not verification.
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

ErrUseECParseInstead is returned if parsing a private key in the wrong function.

# Structs

No description provided by the author

# Type aliases

KeyUsage represents the set of actions that are valid for a given key.
No description provided by the author
No description provided by the author