type crypto/x509/pkix.Extension
42 uses
crypto/x509/pkix (current package)
pkix.go#L113: type Extension struct {
pkix.go#L311: Extensions []Extension `asn1:"tag:0,optional,explicit"`
pkix.go#L319: Extensions []Extension `asn1:"optional"`
crypto/x509
parser.go#L231: func parseExtension(der cryptobyte.String) (pkix.Extension, error) {
parser.go#L232: var ext pkix.Extension
parser.go#L443: func parseAuthorityKeyIdentifier(e pkix.Extension) ([]byte, error) {
parser.go#L533: func parseNameConstraintsExtension(out *Certificate, e pkix.Extension) (unhandled bool, err error) {
verify.go#L680: var candidateSAN *pkix.Extension
verify.go#L698: var certSAN *pkix.Extension
x509.go#L191: Extensions []pkix.Extension `asn1:"omitempty,optional,explicit,tag:3"`
x509.go#L728: Extensions []pkix.Extension
x509.go#L734: ExtraExtensions []pkix.Extension
x509.go#L1143: func oidInExtensions(oid asn1.ObjectIdentifier, extensions []pkix.Extension) bool {
x509.go#L1199: func buildCertExtensions(template *Certificate, subjectIsEmpty bool, authorityKeyId []byte, subjectKeyId []byte) (ret []pkix.Extension, err error) {
x509.go#L1200: ret = make([]pkix.Extension, 10 /* maximum number of elements. */)
x509.go#L1422: func marshalKeyUsage(ku KeyUsage) (pkix.Extension, error) {
x509.go#L1423: ext := pkix.Extension{Id: oidExtensionKeyUsage, Critical: true}
x509.go#L1440: func marshalExtKeyUsage(extUsages []ExtKeyUsage, unknownUsages []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1441: ext := pkix.Extension{Id: oidExtensionExtendedKeyUsage}
x509.go#L1459: func marshalBasicConstraints(isCA bool, maxPathLen int, maxPathLenZero bool) (pkix.Extension, error) {
x509.go#L1460: ext := pkix.Extension{Id: oidExtensionBasicConstraints, Critical: true}
x509.go#L1472: func marshalCertificatePolicies(policies []OID, policyIdentifiers []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1473: ext := pkix.Extension{Id: oidExtensionCertificatePolicies}
x509.go#L1504: func buildCSRExtensions(template *CertificateRequest) ([]pkix.Extension, error) {
x509.go#L1505: var ret []pkix.Extension
x509.go#L1514: ret = append(ret, pkix.Extension{
x509.go#L1884: var aki pkix.Extension
x509.go#L1937: Extensions []pkix.Extension
x509.go#L1946: ExtraExtensions []pkix.Extension
x509.go#L2012: func parseCSRExtensions(rawAttributes []asn1.RawValue) ([]pkix.Extension, error) {
x509.go#L2019: var ret []pkix.Extension
x509.go#L2032: var extensions []pkix.Extension
x509.go#L2154: Value [][]pkix.Extension `asn1:"set"`
x509.go#L2157: Value: [][]pkix.Extension{extensions},
x509.go#L2311: Extensions []pkix.Extension
x509.go#L2316: ExtraExtensions []pkix.Extension
x509.go#L2374: Extensions []pkix.Extension
x509.go#L2378: ExtraExtensions []pkix.Extension
x509.go#L2401: Extensions []pkix.Extension `asn1:"tag:0,optional,explicit"`
x509.go#L2471: exts := make([]pkix.Extension, 0, len(rce.ExtraExtensions))
x509.go#L2487: exts = append(exts, pkix.Extension{
x509.go#L2525: Extensions: []pkix.Extension{
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |