~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/crypto/asymmetric_keys/x509.asn1

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 -- https://www.rfc-editor.org/rfc/rfc5280#section-4
  7 
  8 Certificate ::= SEQUENCE {
  9         tbsCertificate          TBSCertificate ({ x509_note_tbs_certificate }),
 10         signatureAlgorithm      AlgorithmIdentifier,
 11         signature               BIT STRING ({ x509_note_signature })
 12         }
 13 
 14 TBSCertificate ::= SEQUENCE {
 15         version           [ 0 ] Version DEFAULT,
 16         serialNumber            CertificateSerialNumber ({ x509_note_serial }),
 17         signature               AlgorithmIdentifier ({ x509_note_sig_algo }),
 18         issuer                  Name ({ x509_note_issuer }),
 19         validity                Validity,
 20         subject                 Name ({ x509_note_subject }),
 21         subjectPublicKeyInfo    SubjectPublicKeyInfo,
 22         issuerUniqueID    [ 1 ] IMPLICIT UniqueIdentifier OPTIONAL,
 23         subjectUniqueID   [ 2 ] IMPLICIT UniqueIdentifier OPTIONAL,
 24         extensions        [ 3 ] Extensions OPTIONAL
 25         }
 26 
 27 Version ::= INTEGER
 28 CertificateSerialNumber ::= INTEGER
 29 
 30 AlgorithmIdentifier ::= SEQUENCE {
 31         algorithm               OBJECT IDENTIFIER ({ x509_note_OID }),
 32         parameters              ANY OPTIONAL ({ x509_note_params })
 33 }
 34 
 35 Name ::= SEQUENCE OF RelativeDistinguishedName
 36 
 37 RelativeDistinguishedName ::= SET OF AttributeValueAssertion
 38 
 39 AttributeValueAssertion ::= SEQUENCE {
 40         attributeType           OBJECT IDENTIFIER ({ x509_note_OID }),
 41         attributeValue          ANY ({ x509_extract_name_segment })
 42         }
 43 
 44 Validity ::= SEQUENCE {
 45         notBefore               Time ({ x509_note_not_before }),
 46         notAfter                Time ({ x509_note_not_after })
 47         }
 48 
 49 Time ::= CHOICE {
 50         utcTime                 UTCTime,
 51         generalTime             GeneralizedTime
 52         }
 53 
 54 SubjectPublicKeyInfo ::= SEQUENCE {
 55         algorithm               AlgorithmIdentifier,
 56         subjectPublicKey        BIT STRING ({ x509_extract_key_data })
 57         }
 58 
 59 UniqueIdentifier ::= BIT STRING
 60 
 61 Extensions ::= SEQUENCE OF Extension
 62 
 63 Extension ::= SEQUENCE {
 64         extnid                  OBJECT IDENTIFIER ({ x509_note_OID }),
 65         critical                BOOLEAN DEFAULT,
 66         extnValue               OCTET STRING ({ x509_process_extension })
 67         }

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php