package
0.0.0-20240315150211-d9e980b5aa70
Repository: https://github.com/netsec-ethz/fpki.git
Documentation: pkg.go.dev
# Functions
BuildTestRandomCertHierarchy returns the certificates, chains, and names for two mock certificate chains: the first chain is domainName->c1.com->c0.com , and the second chain is domainName->c0.com .
BuildTestRandomPolicyHierarchy creates two policy certificates for the given name.
NewRandReader returns an io.Reader that forces rsa.GenerateKeys to generate reproducible keys, iff the random source is deterministic.
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
RandomRSAPrivateKey generates a NON-cryptographycally secure RSA private 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
RandomX509Cert creates a random x509 certificate, with correct ASN.1 DER representation.