Merge tag 'riscv-for-linus-5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / crypto / asymmetric_keys / x509_akid.asn1
blob1a33231a75a89d9148aeb489cda686eb46abe1c5
1 -- X.509 AuthorityKeyIdentifier
2 -- rfc5280 section 4.2.1.1
4 AuthorityKeyIdentifier ::= SEQUENCE {
5         keyIdentifier                   [0] IMPLICIT KeyIdentifier              OPTIONAL,
6         authorityCertIssuer             [1] IMPLICIT GeneralNames               OPTIONAL,
7         authorityCertSerialNumber       [2] IMPLICIT CertificateSerialNumber    OPTIONAL
8         }
10 KeyIdentifier ::= OCTET STRING ({ x509_akid_note_kid })
12 CertificateSerialNumber ::= INTEGER ({ x509_akid_note_serial })
14 GeneralNames ::= SEQUENCE OF GeneralName
16 GeneralName ::= CHOICE {
17         otherName                       [0] ANY,
18         rfc822Name                      [1] IA5String,
19         dNSName                         [2] IA5String,
20         x400Address                     [3] ANY,
21         directoryName                   [4] Name ({ x509_akid_note_name }),
22         ediPartyName                    [5] ANY,
23         uniformResourceIdentifier       [6] IA5String,
24         iPAddress                       [7] OCTET STRING,
25         registeredID                    [8] OBJECT IDENTIFIER
26         }
28 Name ::= SEQUENCE OF RelativeDistinguishedName
30 RelativeDistinguishedName ::= SET OF AttributeValueAssertion
32 AttributeValueAssertion ::= SEQUENCE {
33         attributeType           OBJECT IDENTIFIER ({ x509_note_OID }),
34         attributeValue          ANY ({ x509_extract_name_segment })
35         }