blob: 9b2c15235a85cd6c03855d2712ed7f4f290e2d39 [file] [log] [blame]
A real world extensions sequence (taken from Google's GAI2).
#-----BEGIN EXTENSIONS-----
SEQUENCE {
SEQUENCE {
# authorityKeyIdentifier
OBJECT_IDENTIFIER { 2.5.29.35 }
OCTET_STRING {
SEQUENCE {
[0 PRIMITIVE] { `c07a98688d89fbab05640c117daa7d65b8cacc4e` }
}
}
}
SEQUENCE {
# subjectKeyIdentifier
OBJECT_IDENTIFIER { 2.5.29.14 }
OCTET_STRING {
OCTET_STRING { `4add06161bbcf668b576f581b6bb621aba5a812f` }
}
}
SEQUENCE {
# keyUsage
OBJECT_IDENTIFIER { 2.5.29.15 }
BOOLEAN { `ff` }
OCTET_STRING {
BIT_STRING { `0106` }
}
}
SEQUENCE {
# authorityInfoAccess
OBJECT_IDENTIFIER { 1.3.6.1.5.5.7.1.1 }
OCTET_STRING {
SEQUENCE {
SEQUENCE {
# ocsp
OBJECT_IDENTIFIER { 1.3.6.1.5.5.7.48.1 }
[6 PRIMITIVE] { "http://g.symcd.com" }
}
}
}
}
SEQUENCE {
# basicConstraints
OBJECT_IDENTIFIER { 2.5.29.19 }
BOOLEAN { `ff` }
OCTET_STRING {
SEQUENCE {
BOOLEAN { `ff` }
INTEGER { 0 }
}
}
}
SEQUENCE {
# cRLDistributionPoints
OBJECT_IDENTIFIER { 2.5.29.31 }
OCTET_STRING {
SEQUENCE {
SEQUENCE {
[0] {
[0] {
[6 PRIMITIVE] { "http://g.symcb.com/crls/gtglobal.crl" }
}
}
}
}
}
}
SEQUENCE {
# certificatePolicies
OBJECT_IDENTIFIER { 2.5.29.32 }
OCTET_STRING {
SEQUENCE {
SEQUENCE {
OBJECT_IDENTIFIER { 1.3.6.1.4.1.11129.2.5.1 }
}
}
}
}
}
#-----END EXTENSIONS-----
-----BEGIN CERTIFICATE-----
MIIC8DCCAlmgAwIBAgIJAPuwTC6rEJsMMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNVBAYTAkFVMRM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