x509_akid.asn1 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. -- SPDX-License-Identifier: BSD-3-Clause
  2. --
  3. -- Copyright (C) 2008 IETF Trust and the persons identified as authors
  4. -- of the code
  5. --
  6. -- X.509 AuthorityKeyIdentifier
  7. -- rfc5280 section 4.2.1.1
  8. AuthorityKeyIdentifier ::= SEQUENCE {
  9. keyIdentifier [0] IMPLICIT KeyIdentifier OPTIONAL,
  10. authorityCertIssuer [1] IMPLICIT GeneralNames OPTIONAL,
  11. authorityCertSerialNumber [2] IMPLICIT CertificateSerialNumber OPTIONAL
  12. }
  13. KeyIdentifier ::= OCTET STRING ({ x509_akid_note_kid })
  14. CertificateSerialNumber ::= INTEGER ({ x509_akid_note_serial })
  15. GeneralNames ::= SEQUENCE OF GeneralName
  16. GeneralName ::= CHOICE {
  17. otherName [0] IMPLICIT OtherName,
  18. rfc822Name [1] IMPLICIT IA5String,
  19. dNSName [2] IMPLICIT IA5String,
  20. x400Address [3] ANY,
  21. directoryName [4] Name ({ x509_akid_note_name }),
  22. ediPartyName [5] IMPLICIT EDIPartyName,
  23. uniformResourceIdentifier [6] IMPLICIT IA5String,
  24. iPAddress [7] IMPLICIT OCTET STRING,
  25. registeredID [8] IMPLICIT OBJECT IDENTIFIER
  26. }
  27. Name ::= SEQUENCE OF RelativeDistinguishedName
  28. RelativeDistinguishedName ::= SET OF AttributeValueAssertion
  29. AttributeValueAssertion ::= SEQUENCE {
  30. attributeType OBJECT IDENTIFIER ({ x509_note_OID }),
  31. attributeValue ANY ({ x509_extract_name_segment })
  32. }
  33. OtherName ::= SEQUENCE {
  34. type-id OBJECT IDENTIFIER,
  35. value [0] ANY
  36. }
  37. EDIPartyName ::= SEQUENCE {
  38. nameAssigner [0] ANY OPTIONAL,
  39. partyName [1] ANY
  40. }