boulder: github.com/letsencrypt/boulder/csr Index | Files

package csr

import "github.com/letsencrypt/boulder/csr"

Index

Package Files

csr.go

func VerifyCSR Uses

func VerifyCSR(csr *x509.CertificateRequest, maxNames int, keyPolicy *goodkey.KeyPolicy, pa core.PolicyAuthority, forceCNFromSAN bool, regID int64) error

VerifyCSR checks the validity of a x509.CertificateRequest. Before doing checks it normalizes the CSR which lowers the case of DNS names and subject CN, and if forceCNFromSAN is true it will hoist a DNS name into the CN if it is empty.

Package csr imports 7 packages (graph) and is imported by 24 packages. Updated 2019-11-14. Refresh now. Tools for package owners.