📄 ssl-pkix.asn1
字号:
SSL-PKIX {iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprices(1) ericsson(193) otp(19) ssl(10) pkix1(1)}DEFINITIONS EXPLICIT TAGS ::=BEGIN-- EXPORTS ALLIMPORTS -- Certificate (parts of) Version, CertificateSerialNumber, AlgorithmIdentifier, Validity, UniqueIdentifier, -- AttribyteTypeAndValue Name, AttributeType, id-at-name, id-at-surname, id-at-givenName, id-at-initials, id-at-generationQualifier, X520name, id-at-commonName, X520CommonName, id-at-localityName, X520LocalityName, id-at-stateOrProvinceName, X520StateOrProvinceName, id-at-organizationName, X520OrganizationName, id-at-organizationalUnitName, X520OrganizationalUnitName, id-at-title, X520Title, id-at-dnQualifier, X520dnQualifier, id-at-countryName, X520countryName, id-at-serialNumber, X520SerialNumber, id-at-pseudonym, X520Pseudonym, id-domainComponent, DomainComponent, id-emailAddress, EmailAddress, -- Extension Attributes common-name, CommonName, teletex-common-name, TeletexCommonName, teletex-personal-name, TeletexPersonalName, pds-name, PDSName, physical-delivery-country-name, PhysicalDeliveryCountryName, postal-code, PostalCode, physical-delivery-office-name, PhysicalDeliveryOfficeName, physical-delivery-office-number, PhysicalDeliveryOfficeNumber, extension-OR-address-components, ExtensionORAddressComponents, physical-delivery-personal-name, PhysicalDeliveryPersonalName, physical-delivery-organization-name, PhysicalDeliveryOrganizationName, extension-physical-delivery-address-components, ExtensionPhysicalDeliveryAddressComponents, unformatted-postal-address, UnformattedPostalAddress, street-address, StreetAddress, post-office-box-address, PostOfficeBoxAddress, poste-restante-address, PosteRestanteAddress, unique-postal-name, UniquePostalName, local-postal-attributes, LocalPostalAttributes, extended-network-address, ExtendedNetworkAddress, terminal-type, TerminalType, teletex-domain-defined-attributes, TeletexDomainDefinedAttributes FROM PKIX1Explicit88 { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-explicit(18) } -- Extensions id-ce-authorityKeyIdentifier, AuthorityKeyIdentifier, id-ce-subjectKeyIdentifier, SubjectKeyIdentifier, id-ce-keyUsage, KeyUsage, id-ce-privateKeyUsagePeriod, PrivateKeyUsagePeriod, id-ce-certificatePolicies, CertificatePolicies, id-ce-policyMappings, PolicyMappings, id-ce-subjectAltName, SubjectAltName, id-ce-issuerAltName, IssuerAltName, id-ce-subjectDirectoryAttributes, SubjectDirectoryAttributes, id-ce-basicConstraints, BasicConstraints, id-ce-nameConstraints, NameConstraints, id-ce-policyConstraints, PolicyConstraints, id-ce-cRLDistributionPoints, CRLDistributionPoints, id-ce-extKeyUsage, ExtKeyUsageSyntax, id-ce-inhibitAnyPolicy, InhibitAnyPolicy, id-ce-freshestCRL, FreshestCRL, id-pe-authorityInfoAccess, AuthorityInfoAccessSyntax, id-pe-subjectInfoAccess, SubjectInfoAccessSyntax, id-ce-cRLNumber, CRLNumber, id-ce-issuingDistributionPoint, IssuingDistributionPoint, id-ce-deltaCRLIndicator, BaseCRLNumber, id-ce-cRLReasons, CRLReason, id-ce-certificateIssuer, CertificateIssuer, id-ce-holdInstructionCode, HoldInstructionCode, id-ce-invalidityDate, InvalidityDate FROM PKIX1Implicit88 { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-implicit(19) } --Keys and Signatures id-dsa, Dss-Parms, DSAPublicKey, id-dsa-with-sha1, md2WithRSAEncryption, md5WithRSAEncryption, sha1WithRSAEncryption, rsaEncryption, RSAPublicKey, dhpublicnumber, DomainParameters, DHPublicKey, id-keyExchangeAlgorithm, KEA-Parms-Id, KEA-PublicKey, ecdsa-with-SHA1, prime-field, Prime-p, characteristic-two-field, Characteristic-two, gnBasis, tpBasis, Trinomial, ppBasis, Pentanomial, id-ecPublicKey, EcpkParameters, ECPoint FROM PKIX1Algorithms88 { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) id-mod(0) id-mod-pkix1-algorithms(17) };---- Certificate--Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm SignatureAlgorithm, signature BIT STRING }TBSCertificate ::= SEQUENCE { version [0] Version DEFAULT v1, serialNumber CertificateSerialNumber, signature SignatureAlgorithm, issuer Name, validity Validity, subject Name, subjectPublicKeyInfo SubjectPublicKeyInfo, issuerUniqueID [1] IMPLICIT UniqueIdentifier OPTIONAL, -- If present, version MUST be v2 or v3 subjectUniqueID [2] IMPLICIT UniqueIdentifier OPTIONAL, -- If present, version MUST be v2 or v3 extensions [3] Extensions OPTIONAL -- If present, version MUST be v3 -- }-- Attribute type and values--ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= CLASS { &id AttributeType UNIQUE, &Type } WITH SYNTAX { ID &id TYPE &Type } AttributeTypeAndValue ::= SEQUENCE { type ATTRIBUTE-TYPE-AND-VALUE-CLASS.&id ({SupportedAttributeTypeAndValues}), value ATTRIBUTE-TYPE-AND-VALUE-CLASS.&Type ({SupportedAttributeTypeAndValues}{@type}) }SupportedAttributeTypeAndValues ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { name | surname | givenName | initials | generationQualifier | commonName | localityName | stateOrProvinceName | organizationName | organizationalUnitName | title | dnQualifier | countryName | serialNumber | pseudonym | domainComponent | emailAddress }name ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-name TYPE X520name }surname ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-surname TYPE X520name }givenName ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-givenName TYPE X520name }initials ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-initials TYPE X520name }generationQualifier ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-generationQualifier TYPE X520name }commonName ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-commonName TYPE X520CommonName }localityName ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-localityName TYPE X520LocalityName }stateOrProvinceName ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-stateOrProvinceName TYPE X520StateOrProvinceName }organizationName ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-organizationName TYPE X520OrganizationName }organizationalUnitName ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-organizationalUnitName TYPE X520OrganizationalUnitName }title ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-title TYPE X520Title }dnQualifier ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-dnQualifier TYPE X520dnQualifier }countryName ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-countryName TYPE X520countryName }serialNumber ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-serialNumber TYPE X520SerialNumber }pseudonym ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-at-pseudonym TYPE X520Pseudonym }domainComponent ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-domainComponent TYPE DomainComponent }emailAddress ATTRIBUTE-TYPE-AND-VALUE-CLASS ::= { ID id-emailAddress TYPE EmailAddress }---- Signature and Public Key Algorithms--SubjectPublicKeyInfo ::= SEQUENCE { algorithm SEQUENCE { algo PUBLIC-KEY-ALGORITHM-CLASS.&id ({SupportedPublicKeyAlgorithms}), parameters PUBLIC-KEY-ALGORITHM-CLASS.&Type ({SupportedPublicKeyAlgorithms}{@.algo}) OPTIONAL }, subjectPublicKey PUBLIC-KEY-ALGORITHM-CLASS.&PublicKeyType ({SupportedPublicKeyAlgorithms}{@algorithm.algo}) }-- The following is needed for conversion of SubjectPublicKeyInfo.SubjectPublicKeyInfo-Any ::= SEQUENCE { algorithm PublicKeyAlgorithm, subjectPublicKey ANY }SIGNATURE-ALGORITHM-CLASS ::= CLASS { &id OBJECT IDENTIFIER UNIQUE, &Type OPTIONAL } WITH SYNTAX { ID &id [TYPE &Type] }PUBLIC-KEY-ALGORITHM-CLASS ::= CLASS { &id OBJECT IDENTIFIER UNIQUE, &Type OPTIONAL, &PublicKeyType OPTIONAL } WITH SYNTAX { ID &id [TYPE &Type] [PUBLIC-KEY-TYPE &PublicKeyType] } SignatureAlgorithm ::= SEQUENCE { algorithm SIGNATURE-ALGORITHM-CLASS.&id ({SupportedSignatureAlgorithms}), parameters SIGNATURE-ALGORITHM-CLASS.&Type ({SupportedSignatureAlgorithms}{@algorithm}) OPTIONAL } SignatureAlgorithm-Any ::= SEQUENCE { algorithm OBJECT IDENTIFIER, parameters ANY OPTIONAL } PublicKeyAlgorithm ::= SEQUENCE { algorithm PUBLIC-KEY-ALGORITHM-CLASS.&id ({SupportedPublicKeyAlgorithms}), parameters PUBLIC-KEY-ALGORITHM-CLASS.&Type ({SupportedPublicKeyAlgorithms}{@algorithm}) OPTIONAL } SupportedSignatureAlgorithms SIGNATURE-ALGORITHM-CLASS ::= { dsa-with-sha1 | md2-with-rsa-encryption | md5-with-rsa-encryption | sha1-with-rsa-encryption | ecdsa-with-sha1 } SupportedPublicKeyAlgorithms PUBLIC-KEY-ALGORITHM-CLASS ::= { dsa | rsa-encryption | dh | kea | ec-public-key } -- DSA Keys and Signatures -- SubjectPublicKeyInfo: dsa PUBLIC-KEY-ALGORITHM-CLASS ::= { ID id-dsa TYPE Dss-Parms -- XXX Must be OPTIONAL PUBLIC-KEY-TYPE DSAPublicKey } -- Certificate.signatureAlgorithm dsa-with-sha1 SIGNATURE-ALGORITHM-CLASS ::= { ID id-dsa-with-sha1 TYPE NULL } -- XXX Must be empty and not NULL -- -- RSA Keys and Signatures -- -- Certificate.signatureAlgorithm md2-with-rsa-encryption SIGNATURE-ALGORITHM-CLASS ::= { ID md2WithRSAEncryption TYPE NULL } md5-with-rsa-encryption SIGNATURE-ALGORITHM-CLASS ::= { ID md5WithRSAEncryption TYPE NULL } sha1-with-rsa-encryption SIGNATURE-ALGORITHM-CLASS ::= { ID sha1WithRSAEncryption TYPE NULL } -- Certificate.signature -- See PKCS #1 (RFC 2313). XXX -- SubjectPublicKeyInfo: rsa-encryption PUBLIC-KEY-ALGORITHM-CLASS ::= { ID rsaEncryption TYPE NULL PUBLIC-KEY-TYPE RSAPublicKey } -- -- Diffie-Hellman Keys -- -- SubjectPublicKeyInfo: dh PUBLIC-KEY-ALGORITHM-CLASS ::= { ID dhpublicnumber TYPE DomainParameters PUBLIC-KEY-TYPE DHPublicKey } -- There are no Diffie-Hellman signature algorithms
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -