package
0.12.8
Repository: https://github.com/rotationalio/ensign.git
Documentation: pkg.go.dev

# Functions

DecodeCertificate from PEM encoded block with type "CERTIFICATE".
DecodeCSR from PEM encoded block with type "CERTIFICATE REQUEST".
DecodePrivateKey from a PEM encoded block.
DecodePublicKey from a PEM encoded block.
EncodeCertificate and write a PEM block with type "CERTIFICATE".
EncodeCSR and write a PEM block with type "CERTIFICATE REQUEST".
EncodePrivateKey as a PKCS8 ASN.1 DER key and write a PEM block with type "PRIVATE KEY".
EncodePublicKey as a PKIX ASN1.1 DER key and write a PEM block with type "PUBLIC KEY".
No description provided by the author
No description provided by the author
ParsePrivateKey from PEM block.
No description provided by the author

# Constants

PEM Block types.
PEM Block types.
PEM Block types.
PEM Block types.
PEM Block types.
PEM Block types.
PEM Block types.

# 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

# Structs

Block wraps a pem.Block and adds type-specific decoding functions.
Reader wraps an io.ReadCloser in order to decode bytes from the underlying data.
Writer wraps an io.WriteCloser and allows users to write multiple PEM encoded blocks to the underlying writer.