Documentation ¶
Index ¶
- Constants
- func CreateCAPool(CAPath string) (*x509.CertPool, error)
- func GenerateCSR(key interface{}) (*x509.CertificateRequest, error)
- func ParseKeycloakPublicKey(data []byte) (*rsa.PublicKey, error)
- func VerifyPeerCertificate(certClient *x509.Certificate, certCA *x509.Certificate) ([][]*x509.Certificate, error)
Constants ¶
View Source
const ( PublicKeyHeader = "-----BEGIN PUBLIC KEY-----" )
Variables ¶
This section is empty.
Functions ¶
func GenerateCSR ¶
func GenerateCSR(key interface{}) (*x509.CertificateRequest, error)
func VerifyPeerCertificate ¶
func VerifyPeerCertificate(certClient *x509.Certificate, certCA *x509.Certificate) ([][]*x509.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.