51 lines · plain
1-- SPDX-License-Identifier: BSD-3-Clause2--3-- Copyright (C) 2008 IETF Trust and the persons identified as authors4-- of the code5--6-- X.509 AuthorityKeyIdentifier7-- rfc5280 section 4.2.1.18 9AuthorityKeyIdentifier ::= SEQUENCE {10 keyIdentifier [0] IMPLICIT KeyIdentifier OPTIONAL,11 authorityCertIssuer [1] IMPLICIT GeneralNames OPTIONAL,12 authorityCertSerialNumber [2] IMPLICIT CertificateSerialNumber OPTIONAL13 }14 15KeyIdentifier ::= OCTET STRING ({ x509_akid_note_kid })16 17CertificateSerialNumber ::= INTEGER ({ x509_akid_note_serial })18 19GeneralNames ::= SEQUENCE OF GeneralName20 21GeneralName ::= CHOICE {22 otherName [0] IMPLICIT OtherName,23 rfc822Name [1] IMPLICIT IA5String,24 dNSName [2] IMPLICIT IA5String,25 x400Address [3] ANY,26 directoryName [4] Name ({ x509_akid_note_name }),27 ediPartyName [5] IMPLICIT EDIPartyName,28 uniformResourceIdentifier [6] IMPLICIT IA5String,29 iPAddress [7] IMPLICIT OCTET STRING,30 registeredID [8] IMPLICIT OBJECT IDENTIFIER31 }32 33Name ::= SEQUENCE OF RelativeDistinguishedName34 35RelativeDistinguishedName ::= SET OF AttributeValueAssertion36 37AttributeValueAssertion ::= SEQUENCE {38 attributeType OBJECT IDENTIFIER ({ x509_note_OID }),39 attributeValue ANY ({ x509_extract_name_segment })40 }41 42OtherName ::= SEQUENCE {43 type-id OBJECT IDENTIFIER,44 value [0] ANY45 }46 47EDIPartyName ::= SEQUENCE {48 nameAssigner [0] ANY OPTIONAL,49 partyName [1] ANY50 }51