SignerSpecs.AttributeGenerationSpec
Namespace: Lacuna.Pki.Pades
Assembly: Lacuna.Pki
Class
public class SignerSpecs.AttributeGenerationSpec
Hierarquia: object → SignerSpecs.AttributeGenerationSpec
Construtores
AttributeGenerationSpec()
public AttributeGenerationSpec()
Propriedades
CmsSignatureTimestamp
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.
public GenerationRequirementLevels CmsSignatureTimestamp { get; set; }
Retorno
EnableLtv
Whether or not to create the signature with Long Term Validation elements. Default is true
public bool EnableLtv { get; set; }
Retorno
Comentários
If you intend to create a document timestamp extending the life-time protection of the PDF, it is not recommended to enable this in the PadesSigner usage moment but in the PadesTimestamper usage.
Filter
The preferred signature handler to use when validating this signature. If not set, the default is AdobePPKLite filter.
public PadesFilters Filter { get; set; }
Retorno
IncludeCmsSigningCertificateAttribute
Whether or not to include the signing-certificate attribute (or signing-certificate-v2, depending on the digest algorithm being used).
public bool IncludeCmsSigningCertificateAttribute { get; set; }
Retorno
Comentários
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.
IncludeSignaturePolicyIdentifier
Wheter or not to include the signature-policy-identifier signed attribute (CAdES-BES vs CADES-EPES)
public bool IncludeSignaturePolicyIdentifier { get; set; }
Retorno
IncludeSigningDateM
Whether or not to include the signing time date M in the PDF signature. This signing time is not a trusted time and should not be used if your internal Cades signatures already has a trusted signing time value. Default is true
public bool IncludeSigningDateM { get; set; }
Retorno
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.
public CadesPolicySpec.SignaturePolicyQualifiers SignaturePolicyQualifiers { get; set; }
Retorno
CadesPolicySpec.SignaturePolicyQualifiers
SubFilter
The preferred signature validation plugin to be used in PDF readers. If note set, default is none.
public PadesSubFilters SubFilter { get; set; }
Retorno
Membros herdados
ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()