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#L200: func parseExtension(der cryptobyte.String) (pkix.Extension, error) {
parser.go#L201: var ext pkix.Extension
parser.go#L419: func parseAuthorityKeyIdentifier(e pkix.Extension) ([]byte, error) {
parser.go#L504: func parseNameConstraintsExtension(out *Certificate, e pkix.Extension) (unhandled bool, err error) {
verify.go#L863: var candidateSAN *pkix.Extension
verify.go#L878: var certSAN *pkix.Extension
x509.go#L190: Extensions []pkix.Extension `asn1:"omitempty,optional,explicit,tag:3"`
x509.go#L710: Extensions []pkix.Extension
x509.go#L716: ExtraExtensions []pkix.Extension
x509.go#L1060: func oidInExtensions(oid asn1.ObjectIdentifier, extensions []pkix.Extension) bool {
x509.go#L1116: func buildCertExtensions(template *Certificate, subjectIsEmpty bool, authorityKeyId []byte, subjectKeyId []byte) (ret []pkix.Extension, err error) {
x509.go#L1117: ret = make([]pkix.Extension, 10 /* maximum number of elements. */)
x509.go#L1339: func marshalKeyUsage(ku KeyUsage) (pkix.Extension, error) {
x509.go#L1340: ext := pkix.Extension{Id: oidExtensionKeyUsage, Critical: true}
x509.go#L1357: func marshalExtKeyUsage(extUsages []ExtKeyUsage, unknownUsages []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1358: ext := pkix.Extension{Id: oidExtensionExtendedKeyUsage}
x509.go#L1376: func marshalBasicConstraints(isCA bool, maxPathLen int, maxPathLenZero bool) (pkix.Extension, error) {
x509.go#L1377: ext := pkix.Extension{Id: oidExtensionBasicConstraints, Critical: true}
x509.go#L1389: func marshalCertificatePolicies(policies []OID, policyIdentifiers []asn1.ObjectIdentifier) (pkix.Extension, error) {
x509.go#L1390: ext := pkix.Extension{Id: oidExtensionCertificatePolicies}
x509.go#L1421: func buildCSRExtensions(template *CertificateRequest) ([]pkix.Extension, error) {
x509.go#L1422: var ret []pkix.Extension
x509.go#L1431: ret = append(ret, pkix.Extension{
x509.go#L1775: var aki pkix.Extension
x509.go#L1828: Extensions []pkix.Extension
x509.go#L1837: ExtraExtensions []pkix.Extension
x509.go#L1903: func parseCSRExtensions(rawAttributes []asn1.RawValue) ([]pkix.Extension, error) {
x509.go#L1910: var ret []pkix.Extension
x509.go#L1923: var extensions []pkix.Extension
x509.go#L2045: Value [][]pkix.Extension `asn1:"set"`
x509.go#L2048: Value: [][]pkix.Extension{extensions},
x509.go#L2202: Extensions []pkix.Extension
x509.go#L2207: ExtraExtensions []pkix.Extension
x509.go#L2265: Extensions []pkix.Extension
x509.go#L2269: ExtraExtensions []pkix.Extension
x509.go#L2292: Extensions []pkix.Extension `asn1:"tag:0,optional,explicit"`
x509.go#L2361: exts := make([]pkix.Extension, 0, len(rce.ExtraExtensions))
x509.go#L2377: exts = append(exts, pkix.Extension{
x509.go#L2415: Extensions: []pkix.Extension{
 |
The pages are generated with Golds v0.7.6. (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. |