003 File Manager
Current Path:
/usr/src/crypto/heimdal/lib/asn1
usr
/
src
/
crypto
/
heimdal
/
lib
/
asn1
/
📁
..
📄
ChangeLog
(44.84 KB)
📄
Makefile.am
(7.72 KB)
📄
Makefile.in
(51.46 KB)
📄
asn1-common.h
(2.06 KB)
📄
asn1-template.h
(3.97 KB)
📄
asn1_err.et
(1.27 KB)
📄
asn1_gen.c
(4.8 KB)
📄
asn1_print.c
(9.23 KB)
📄
asn1_queue.h
(6.52 KB)
📄
asn1parse.c
(81.78 KB)
📄
asn1parse.h
(6.44 KB)
📄
asn1parse.y
(20.85 KB)
📄
canthandle.asn1
(793 B)
📄
check-common.c
(10.03 KB)
📄
check-common.h
(2.87 KB)
📄
check-der.c
(26.7 KB)
📄
check-gen.c
(35.1 KB)
📄
check-timegm.c
(2.28 KB)
📄
cms.asn1
(4.16 KB)
📄
cms.opt
(55 B)
📄
der-private.h
(1.29 KB)
📄
der-protos.h
(10.5 KB)
📄
der.c
(3.69 KB)
📄
der.h
(3.08 KB)
📄
der_cmp.c
(3.48 KB)
📄
der_copy.c
(4.75 KB)
📄
der_format.c
(3.93 KB)
📄
der_free.c
(3.01 KB)
📄
der_get.c
(14.56 KB)
📄
der_length.c
(4.67 KB)
📄
der_locl.h
(2.15 KB)
📄
der_put.c
(10.02 KB)
📄
digest.asn1
(4.86 KB)
📄
extra.c
(3.69 KB)
📄
gen.c
(25.75 KB)
📄
gen_copy.c
(6.68 KB)
📄
gen_decode.c
(17.89 KB)
📄
gen_encode.c
(13.23 KB)
📄
gen_free.c
(5.01 KB)
📄
gen_glue.c
(4.13 KB)
📄
gen_length.c
(7.54 KB)
📄
gen_locl.h
(3.26 KB)
📄
gen_seq.c
(3.89 KB)
📄
gen_template.c
(22.2 KB)
📄
hash.c
(4.57 KB)
📄
hash.h
(2.92 KB)
📄
heim_asn1.h
(2.33 KB)
📄
krb5.asn1
(20.53 KB)
📄
krb5.opt
(147 B)
📄
kx509.asn1
(662 B)
📄
lex.c
(73.99 KB)
📄
lex.h
(1.76 KB)
📄
lex.l
(7.74 KB)
📄
main.c
(4.78 KB)
📄
pkcs12.asn1
(2.29 KB)
📄
pkcs8.asn1
(629 B)
📄
pkcs9.asn1
(809 B)
📄
pkinit.asn1
(5.47 KB)
📄
rfc2459.asn1
(16.79 KB)
📄
setchgpw2.asn1
(3.82 KB)
📄
symbol.c
(2.68 KB)
📄
symbol.h
(3.57 KB)
📄
template.c
(24.54 KB)
📄
test.asn1
(3.1 KB)
📄
test.gen
(290 B)
📄
timegm.c
(3.83 KB)
📄
version-script.map
(135 B)
Editing: cms.asn1
-- From RFC 3369 -- -- $Id$ -- CMS DEFINITIONS ::= BEGIN IMPORTS CertificateSerialNumber, AlgorithmIdentifier, Name, Attribute, Certificate, SubjectKeyIdentifier FROM rfc2459 heim_any, heim_any_set FROM heim; id-pkcs7 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs7(7) } id-pkcs7-data OBJECT IDENTIFIER ::= { id-pkcs7 1 } id-pkcs7-signedData OBJECT IDENTIFIER ::= { id-pkcs7 2 } id-pkcs7-envelopedData OBJECT IDENTIFIER ::= { id-pkcs7 3 } id-pkcs7-signedAndEnvelopedData OBJECT IDENTIFIER ::= { id-pkcs7 4 } id-pkcs7-digestedData OBJECT IDENTIFIER ::= { id-pkcs7 5 } id-pkcs7-encryptedData OBJECT IDENTIFIER ::= { id-pkcs7 6 } CMSVersion ::= INTEGER { CMSVersion_v0(0), CMSVersion_v1(1), CMSVersion_v2(2), CMSVersion_v3(3), CMSVersion_v4(4) } DigestAlgorithmIdentifier ::= AlgorithmIdentifier DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier SignatureAlgorithmIdentifier ::= AlgorithmIdentifier ContentType ::= OBJECT IDENTIFIER MessageDigest ::= OCTET STRING ContentInfo ::= SEQUENCE { contentType ContentType, content [0] EXPLICIT heim_any OPTIONAL -- DEFINED BY contentType } EncapsulatedContentInfo ::= SEQUENCE { eContentType ContentType, eContent [0] EXPLICIT OCTET STRING OPTIONAL } CertificateSet ::= SET OF heim_any CertificateList ::= Certificate CertificateRevocationLists ::= SET OF CertificateList IssuerAndSerialNumber ::= SEQUENCE { issuer Name, serialNumber CertificateSerialNumber } -- RecipientIdentifier is same as SignerIdentifier, -- lets glue them togheter and save some bytes and share code for them CMSIdentifier ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, subjectKeyIdentifier [0] SubjectKeyIdentifier } SignerIdentifier ::= CMSIdentifier RecipientIdentifier ::= CMSIdentifier --- CMSAttributes are the combined UnsignedAttributes and SignedAttributes --- to store space and share code CMSAttributes ::= SET OF Attribute -- SIZE (1..MAX) SignatureValue ::= OCTET STRING SignerInfo ::= SEQUENCE { version CMSVersion, sid SignerIdentifier, digestAlgorithm DigestAlgorithmIdentifier, signedAttrs [0] IMPLICIT -- CMSAttributes -- SET OF Attribute OPTIONAL, signatureAlgorithm SignatureAlgorithmIdentifier, signature SignatureValue, unsignedAttrs [1] IMPLICIT -- CMSAttributes -- SET OF Attribute OPTIONAL } SignerInfos ::= SET OF SignerInfo SignedData ::= SEQUENCE { version CMSVersion, digestAlgorithms DigestAlgorithmIdentifiers, encapContentInfo EncapsulatedContentInfo, certificates [0] IMPLICIT -- CertificateSet -- SET OF heim_any OPTIONAL, crls [1] IMPLICIT -- CertificateRevocationLists -- heim_any OPTIONAL, signerInfos SignerInfos } OriginatorInfo ::= SEQUENCE { certs [0] IMPLICIT -- CertificateSet -- SET OF heim_any OPTIONAL, crls [1] IMPLICIT --CertificateRevocationLists -- heim_any OPTIONAL } KeyEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier EncryptedKey ::= OCTET STRING KeyTransRecipientInfo ::= SEQUENCE { version CMSVersion, -- always set to 0 or 2 rid RecipientIdentifier, keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier, encryptedKey EncryptedKey } RecipientInfo ::= KeyTransRecipientInfo RecipientInfos ::= SET OF RecipientInfo EncryptedContent ::= OCTET STRING EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT OCTET STRING OPTIONAL } UnprotectedAttributes ::= SET OF Attribute -- SIZE (1..MAX) CMSEncryptedData ::= SEQUENCE { version CMSVersion, encryptedContentInfo EncryptedContentInfo, unprotectedAttrs [1] IMPLICIT -- UnprotectedAttributes -- heim_any OPTIONAL } EnvelopedData ::= SEQUENCE { version CMSVersion, originatorInfo [0] IMPLICIT -- OriginatorInfo -- heim_any OPTIONAL, recipientInfos RecipientInfos, encryptedContentInfo EncryptedContentInfo, unprotectedAttrs [1] IMPLICIT -- UnprotectedAttributes -- heim_any OPTIONAL } -- Data ::= OCTET STRING CMSRC2CBCParameter ::= SEQUENCE { rc2ParameterVersion INTEGER (0..4294967295), iv OCTET STRING -- exactly 8 octets } CMSCBCParameter ::= OCTET STRING END
Upload File
Create Folder