x509_akid.asn1 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. -- X.509 AuthorityKeyIdentifier
  2. -- rfc5280 section 4.2.1.1
  3. AuthorityKeyIdentifier ::= SEQUENCE {
  4. keyIdentifier [0] IMPLICIT KeyIdentifier OPTIONAL,
  5. authorityCertIssuer [1] IMPLICIT GeneralNames OPTIONAL,
  6. authorityCertSerialNumber [2] IMPLICIT CertificateSerialNumber OPTIONAL
  7. }
  8. KeyIdentifier ::= OCTET STRING ({ x509_akid_note_kid })
  9. CertificateSerialNumber ::= INTEGER ({ x509_akid_note_serial })
  10. GeneralNames ::= SEQUENCE OF GeneralName
  11. GeneralName ::= CHOICE {
  12. otherName [0] ANY,
  13. rfc822Name [1] IA5String,
  14. dNSName [2] IA5String,
  15. x400Address [3] ANY,
  16. directoryName [4] Name ({ x509_akid_note_name }),
  17. ediPartyName [5] ANY,
  18. uniformResourceIdentifier [6] IA5String,
  19. iPAddress [7] OCTET STRING,
  20. registeredID [8] OBJECT IDENTIFIER
  21. }
  22. Name ::= SEQUENCE OF RelativeDistinguishedName
  23. RelativeDistinguishedName ::= SET OF AttributeValueAssertion
  24. AttributeValueAssertion ::= SEQUENCE {
  25. attributeType OBJECT IDENTIFIER ({ x509_note_OID }),
  26. attributeValue ANY ({ x509_extract_name_segment })
  27. }