-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 334303 b: refs/heads/master c: c26fd69 h: refs/heads/master i: 334301: 6edd521 334299: 1f5c873 334295: 71bdc24 334287: 1507654 334271: 0a65238 v: v3
- Loading branch information
David Howells
authored and
Rusty Russell
committed
Oct 8, 2012
1 parent
00c100f
commit 863e255
Showing
9 changed files
with
833 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e1045992949160b56309b730b8bdc428f2f8b69e | ||
refs/heads/master: c26fd69fa00916a31a47f5f096fd7be924106df8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*-asn1.[ch] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
Certificate ::= SEQUENCE { | ||
tbsCertificate TBSCertificate ({ x509_note_tbs_certificate }), | ||
signatureAlgorithm AlgorithmIdentifier, | ||
signature BIT STRING ({ x509_note_signature }) | ||
} | ||
|
||
TBSCertificate ::= SEQUENCE { | ||
version [ 0 ] Version DEFAULT, | ||
serialNumber CertificateSerialNumber, | ||
signature AlgorithmIdentifier ({ x509_note_pkey_algo }), | ||
issuer Name ({ x509_note_issuer }), | ||
validity Validity, | ||
subject Name ({ x509_note_subject }), | ||
subjectPublicKeyInfo SubjectPublicKeyInfo, | ||
issuerUniqueID [ 1 ] IMPLICIT UniqueIdentifier OPTIONAL, | ||
subjectUniqueID [ 2 ] IMPLICIT UniqueIdentifier OPTIONAL, | ||
extensions [ 3 ] Extensions OPTIONAL | ||
} | ||
|
||
Version ::= INTEGER | ||
CertificateSerialNumber ::= INTEGER | ||
|
||
AlgorithmIdentifier ::= SEQUENCE { | ||
algorithm OBJECT IDENTIFIER ({ x509_note_OID }), | ||
parameters ANY OPTIONAL | ||
} | ||
|
||
Name ::= SEQUENCE OF RelativeDistinguishedName | ||
|
||
RelativeDistinguishedName ::= SET OF AttributeValueAssertion | ||
|
||
AttributeValueAssertion ::= SEQUENCE { | ||
attributeType OBJECT IDENTIFIER ({ x509_note_OID }), | ||
attributeValue ANY ({ x509_extract_name_segment }) | ||
} | ||
|
||
Validity ::= SEQUENCE { | ||
notBefore Time ({ x509_note_not_before }), | ||
notAfter Time ({ x509_note_not_after }) | ||
} | ||
|
||
Time ::= CHOICE { | ||
utcTime UTCTime, | ||
generalTime GeneralizedTime | ||
} | ||
|
||
SubjectPublicKeyInfo ::= SEQUENCE { | ||
algorithm AlgorithmIdentifier, | ||
subjectPublicKey BIT STRING ({ x509_extract_key_data }) | ||
} | ||
|
||
UniqueIdentifier ::= BIT STRING | ||
|
||
Extensions ::= SEQUENCE OF Extension | ||
|
||
Extension ::= SEQUENCE { | ||
extnid OBJECT IDENTIFIER ({ x509_note_OID }), | ||
critical BOOLEAN DEFAULT, | ||
extnValue OCTET STRING ({ x509_process_extension }) | ||
} |
Oops, something went wrong.