# Functions
CheckCertificateAndPrivateKeyPairValidity checks if the certificate and private key pair are valid.
CheckPublicAndPrivateKeyValidity checks if the given bytes for the private and public keys are valid.
GenerateCertificatePrivateKeyPair starts from the Certificate Authority bytes a certificate using the provided template, returning the bytes both for the certificate and its key.
IsValidCertificateKeyPairBytes checks if the certificate matches the private key bounded to it.
NewCertificateTemplate returns the template that must be used to generate a certificate, used to perform the authentication against the DataStore.
ParseCertificateBytes takes the certificate bytes returning a x509 certificate by parsing it.
ParsePrivateKeyBytes takes the private key bytes returning an RSA private key by parsing it.
ParsePublicKeyBytes takes the public key bytes returning an RSA public key by parsing it.
No description provided by the author