Commit | Line | Data |
---|---|---|
201c0da4 LW |
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 | -- | |
b92e6570 DH |
6 | -- X.509 AuthorityKeyIdentifier |
7 | -- rfc5280 section 4.2.1.1 | |
8 | ||
9 | AuthorityKeyIdentifier ::= SEQUENCE { | |
10 | keyIdentifier [0] IMPLICIT KeyIdentifier OPTIONAL, | |
11 | authorityCertIssuer [1] IMPLICIT GeneralNames OPTIONAL, | |
12 | authorityCertSerialNumber [2] IMPLICIT CertificateSerialNumber OPTIONAL | |
13 | } | |
14 | ||
15 | KeyIdentifier ::= OCTET STRING ({ x509_akid_note_kid }) | |
16 | ||
17 | CertificateSerialNumber ::= INTEGER ({ x509_akid_note_serial }) | |
18 | ||
19 | GeneralNames ::= SEQUENCE OF GeneralName | |
20 | ||
21 | GeneralName ::= CHOICE { | |
a1e45202 LW |
22 | otherName [0] IMPLICIT OtherName, |
23 | rfc822Name [1] IMPLICIT IA5String, | |
24 | dNSName [2] IMPLICIT IA5String, | |
b92e6570 DH |
25 | x400Address [3] ANY, |
26 | directoryName [4] Name ({ x509_akid_note_name }), | |
a1e45202 LW |
27 | ediPartyName [5] IMPLICIT EDIPartyName, |
28 | uniformResourceIdentifier [6] IMPLICIT IA5String, | |
29 | iPAddress [7] IMPLICIT OCTET STRING, | |
30 | registeredID [8] IMPLICIT OBJECT IDENTIFIER | |
b92e6570 DH |
31 | } |
32 | ||
33 | Name ::= SEQUENCE OF RelativeDistinguishedName | |
34 | ||
35 | RelativeDistinguishedName ::= SET OF AttributeValueAssertion | |
36 | ||
37 | AttributeValueAssertion ::= SEQUENCE { | |
38 | attributeType OBJECT IDENTIFIER ({ x509_note_OID }), | |
39 | attributeValue ANY ({ x509_extract_name_segment }) | |
40 | } | |
a1e45202 LW |
41 | |
42 | OtherName ::= SEQUENCE { | |
43 | type-id OBJECT IDENTIFIER, | |
44 | value [0] ANY | |
45 | } | |
46 | ||
47 | EDIPartyName ::= SEQUENCE { | |
48 | nameAssigner [0] ANY OPTIONAL, | |
49 | partyName [1] ANY | |
50 | } |