package
0.0.0-20240527030114-7c1aaf143e39
Repository: https://github.com/baseddevelopment/eve.git
Documentation: pkg.go.dev
# Functions
Take a privat key object and a hostname and return a PEM encoded CA with the commonname of the hostname.
Take a private key, a hostname, and a path, create a CSR with the CN and the DNSNames as the hostname and return a PEM encoded CSR.
Output a pem and der encoded ed25519 private key.
Return the sum of any PEM encoded object.
Take a PEM encoded DER encoded cert and return the *x509.Certificate object.
Take a PEM encoded DER encoded csr and return the *x509.CertificateRequest object.
Take a PEM encoded SEC1,ASN1 DER private key and return the *ed25519.PrivateKey object.
Take a CA cert object, private key of the CA, a CSR, and a path to write the cert Generate a cert from the CSA and sign with the CA supplied.
Verify if a cert was signed by the CA.