Show / Hide Table of Contents
Editar no GitHub

Class CadesPolicySpec.AttributeGenerationSpec

Inheritance
Object
CadesPolicySpec.AttributeGenerationSpec
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki.Cades
Assembly: Lacuna.Pki.dll
Syntax
public class AttributeGenerationSpec

Constructors

| Improve this Doc View Source

AttributeGenerationSpec()

Declaration
public AttributeGenerationSpec()

Properties

| Improve this Doc View Source

ArchiveTimestamp

Denotes whether an archive timestamp MUST be added (failure throws exception), or SHOULD be added (failure generates a warning) or SHOULD NOT be added.

Declaration
public GenerationRequirementLevels ArchiveTimestamp { get; set; }
Property Value
Type Description
GenerationRequirementLevels
| Improve this Doc View Source

CadesCTimeStamp

Denotes whether a cades-c-timestamp attribute MUST be added (failure throws exception), or SHOULD be added (failure generates a warning) or SHOULD NOT added. NOTE: if CadesCTimeStamp is set to Must or Should, then the properties IncludeCompleteCertificateReferences and IncludeCompleteRevocationReferences must be set to true.

Declaration
public GenerationRequirementLevels CadesCTimeStamp { get; set; }
Property Value
Type Description
GenerationRequirementLevels
| Improve this Doc View Source

CertCrlsReferencesTimestamp

Denotes whether a certificates and CRLs references timestamp MUST be added (failure throws exception), or SHOULD be added (failure generates a warning) or SHOULD NOT be added.

Declaration
public GenerationRequirementLevels CertCrlsReferencesTimestamp { get; set; }
Property Value
Type Description
GenerationRequirementLevels
| Improve this Doc View Source

IncludeCertificatesInSignedData

The certificates to be included in the SignedData Certificates Set

Declaration
public InclusionLevel IncludeCertificatesInSignedData { get; set; }
Property Value
Type Description
InclusionLevel
| Improve this Doc View Source

IncludeCertificateValues

Whether or not to include a certificate-values attribute.

Declaration
public bool IncludeCertificateValues { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeCompleteCertificateReferences

Whether or not to include the complete-certificate-references attribute.

Declaration
public bool IncludeCompleteCertificateReferences { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeCompleteRevocationReferences

Whether or not to include the complete-revocation-references attribute.

Declaration
public bool IncludeCompleteRevocationReferences { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeCrlsInSignedData

Whether or not to include the used CRLs in the SignedData Revocation Info Choices

Declaration
public bool IncludeCrlsInSignedData { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeFullPathReferenceInSigningCertificateAttribute

Whether or not to include the certification full path on the SigningCertificate attribute

Declaration
public bool IncludeFullPathReferenceInSigningCertificateAttribute { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeRevocationValues

Whether or not to include a revocation-values attribute.

Declaration
public bool IncludeRevocationValues { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeSignaturePolicyIdentifier

Wheter or not to include the signature-policy-identifier signed attribute (CAdES-BES vs CADES-EPES)

Declaration
public bool IncludeSignaturePolicyIdentifier { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IncludeSigningCertificateAttribute

Whether or not to include the signing-certificate attribute (or signing-certificate-v2, depending on the digest algorithm being used).

Declaration
public bool IncludeSigningCertificateAttribute { get; set; }
Property Value
Type Description
Boolean
Remarks

Please note that the signing certificate attribute is mandated by CAdES. A signature without a signing certificate attribute cannot truly be considered a CAdES signature and is subject to known attacks (signer substitution attack). The default value for this property is true on all policies returned by the SDK. We highly recommend that you do not set this property to false.

| Improve this Doc View Source

IncludeSigningTime

Whether or not to include the signing-time signed attribute containing the time taken from the local machine.

Declaration
public bool IncludeSigningTime { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

SignaturePolicyQualifiers

In case IncludeSignaturePolicyIdentifier is set to true, denotes which signature policy qualifiers should be included in the signature-policy-identifier attribute. Currently, only the Uri qualifier is supported.

Declaration
public CadesPolicySpec.SignaturePolicyQualifiers SignaturePolicyQualifiers { get; set; }
Property Value
Type Description
CadesPolicySpec.SignaturePolicyQualifiers
| Improve this Doc View Source

SignatureTimestamp

Denotes whether a signature-timestamp attribute MUST be added (failure throws exception), or SHOULD be added (failure generates a warning) or SHOULD NOT be added.

Declaration
public GenerationRequirementLevels SignatureTimestamp { get; set; }
Property Value
Type Description
GenerationRequirementLevels
Back to top Copyright © 2015-2020 Lacuna Software