Profile Property
Specifies a pre-defined profile to apply when creating the signature.
Syntax
public String getProfile(); public void setProfile(String profile);
Remarks
Advanced signatures come in many variants, which are often defined by parties that needs to process them or by local standards. SecureBlackbox profiles are sets of pre-defined configurations which correspond to particular signature variants. By specifying a profile, you are pre-configuring the component to make it produce the signature that matches the configuration corresponding to that profile.
Supported profiles:
"BR.AD_RB_v1_0" | Brazilian signature with Basic Reference (AD-RB) version 1.0 | |
"BR.AD_RB_v1_1" | Brazilian signature with Basic Reference (AD-RB) version 1.1 | |
"BR.AD_RT_v1_0" | Brazilian signature with Time Reference (AD-RT) version 1.0 | |
"BR.AD_RT_v1_1" | Brazilian signature with Time Reference (AD-RT) version 1.1 | |
"BR.AD_RC_v1_1" | Brazilian signature with Complete References (AD-RC) version 1.1 | |
"BR.AD_RC_v1_2" | Brazilian signature with Complete References (AD-RC) version 1.2 | |
"BR.AD_RA_v1_1" | Brazilian signature with References for Archiving (AD-RA) version 1.1 | |
"BR.AD_RA_v1_2" | Brazilian signature with References for Archiving (AD-RA) version 1.2 | |
"PAdES.BASELINE-B" | PAdES B-B level (ETSI TS 103 172 v2.1.1 Baseline Profile) | |
"PAdES.BASELINE-T" | PAdES B-T level | |
"PAdES.BASELINE-LT.Update" | PAdES B-LT level | |
"PAdES.BASELINE-LTA.Update" | PAdES B-LTA level |
"PAdES.BASELINE-B" profile equivalent to the following settings:
Signer.Signature.Level = PDFSignatureLevels.pslBES; Signer.Config("AutoCollectRevocationInfo=false");This code uses PAdES-BES form (signature that do not incorporate signature-policy-identifier). Alternatively, you can use PAdES-EPES form (signature that do incorporate signature-policy-identifier) with the following code modification:
Signer.Signature.Level = PDFSignatureLevels.pslEPES;
"PAdES.BASELINE-T" profile extends "PAdES.BASELINE-B" profile with the following settings:
Signer.TimestampServer = "https://freetsa.org/tsr";
"PAdES.BASELINE-LT.Update" profile is applied in Update method.
It extends the signature created using PAdES B-T level ("PAdES.BASELINE-T" profile).
Signer.Config("AutoCollectRevocationInfo=true");
"PAdES.BASELINE-LTA.Update" profile is applied in Update method.
It extends the signature created using PAdES B-T level ("PAdES.BASELINE-T" profile).
Signer.Config("AutoCollectRevocationInfo=true"); Signer.TimestampServer = "https://freetsa.org/tsr";
Default Value
""