Current section

Files

Jump to
ca include PKCS-7.hrl
Raw

include/PKCS-7.hrl

%% Generated by the Erlang ASN.1 compiler. Version: 5.0.21
%% Purpose: Erlang record definitions for each named and unnamed
%% SEQUENCE and SET, and macro definitions for each value
%% definition in module PKCS-7.
-ifndef(_PKCS_7_HRL_).
-define(_PKCS_7_HRL_, true).
-record('AlgorithmIdentifier', {
algorithm,
parameters = asn1_NOVALUE
}).
-record('Attribute', {
type,
values
}).
-record('ContentEncryptionAlgorithmIdentifier', {
algorithm,
parameters = asn1_NOVALUE
}).
-record('DigestAlgorithmIdentifier', {
algorithm,
parameters = asn1_NOVALUE
}).
-record('DigestEncryptionAlgorithmIdentifier', {
algorithm,
parameters = asn1_NOVALUE
}).
-record('IssuerAndSerialNumber', {
issuer,
serialNumber
}).
-record('KeyEncryptionAlgorithmIdentifier', {
algorithm,
parameters = asn1_NOVALUE
}).
-record('ContentInfo', {
contentType,
content = asn1_NOVALUE
}).
-record('SignedData', {
version,
digestAlgorithms,
contentInfo,
certificates = asn1_NOVALUE,
crls = asn1_NOVALUE,
signerInfos
}).
-record('SignerInfo', {
version,
issuerAndSerialNumber,
digestAlgorithm,
authenticatedAttributes = asn1_NOVALUE,
digestEncryptionAlgorithm,
encryptedDigest,
unauthenticatedAttributes = asn1_NOVALUE
}).
-record('SignerInfo_authenticatedAttributes_aaSet_SETOF', {
type,
values
}).
-record('SignerInfo_authenticatedAttributes_aaSequence_SEQOF', {
type,
values
}).
-record('SignerInfo_unauthenticatedAttributes_uaSet_SETOF', {
type,
values
}).
-record('SignerInfo_unauthenticatedAttributes_uaSequence_SEQOF', {
type,
values
}).
-record('DigestInfo', {
digestAlgorithm,
digest
}).
-record('EnvelopedData', {
version,
recipientInfos,
encryptedContentInfo
}).
-record('EncryptedContentInfo', {
contentType,
contentEncryptionAlgorithm,
encryptedContent = asn1_NOVALUE
}).
-record('RecipientInfo', {
version,
issuerAndSerialNumber,
keyEncryptionAlgorithm,
encryptedKey
}).
-record('SignedAndEnvelopedData', {
version,
recipientInfos,
digestAlgorithms,
encryptedContentInfo,
certificates = asn1_NOVALUE,
crls = asn1_NOVALUE,
signerInfos
}).
-record('DigestedData', {
version,
digestAlgorithm,
contentInfo,
digest
}).
-record('EncryptedData', {
version,
encryptedContentInfo
}).
-define('pkcs-7', {1,2,840,113549,1,7}).
-define('data', {1,2,840,113549,1,7,1}).
-define('signedData', {1,2,840,113549,1,7,2}).
-define('envelopedData', {1,2,840,113549,1,7,3}).
-define('signedAndEnvelopedData', {1,2,840,113549,1,7,4}).
-define('digestedData', {1,2,840,113549,1,7,5}).
-define('encryptedData', {1,2,840,113549,1,7,6}).
-endif. %% _PKCS_7_HRL_