B-level Properties
The following B-level properties as part of signed attributes during signature creation and are common for all AdES Signers. Each AdES Signer may have additional specific set of properties that are described in the subsequent sections.
Signed Attributes
The following properties can be used to set the common attributes as part of the B-level signed attributes:
Property | Description | Default Value | Mandatory | Metadata Support |
---|---|---|---|---|
TRUST_ANCHOR_BP_POLICY_ENABLED | If the certificate related to the trust anchor should be included to the signature or not. | false when B-level is constructed. true when LT-level is constructed. | NO | YES |
SIGNING_DATE | The claimed signing time in format of unix timestamp in milliseconds. | NONE | NO | YES |
CLAIMED_SIGNER_ROLES | Claimed signer roles. In case of multiple signer roles, the value should be a comma separated list of roles. | NONE | NO | YES |
SIGNED_ASSERTIONS | Signed assertions. In case of multiple assertions, the value should be a comma separated list of assertions. | NONE | NO | YES |
COMMITMENT_TYPES | Commitment type indications. If multiple commitment types, the values should be a comma separated list of commitment types. The following commitment types are supported:
| NONE | NO | NO |
Signature policy attributes
The following properties can be used to set the signature policy as part of the B-level signed attributes:
Property | Description | Default Value | Mandatory | Metadata Support |
---|---|---|---|---|
SIGNATURE_POLICY_ID | The Id of the Signature Policy. | NONE | NO | NO |
SIGNATURE_POLICY_QUALIFIER | Qualifier attribute. Supported values are:
| NONE | NO | NO |
SIGNATURE_POLICY_DESCRIPTION | The Signature Policy description. | NONE | NO | NO |
SIGNATURE_POLICY_REFERENCE.N | The Signature Policy documentation references. You can defined multiple values that will be included as a documentation reference based on the number N at the end of the property, for example:
| NONE | NO | NO |
SIGNATURE_POLICY_DIGEST_ALGORITHM | The digest algorithm used to compute the digest. | NONE | NO | NO |
SIGNATURE_POLICY_DIGEST_VALUE | The computed digest value. The value must be in the hexadecimal format. | NONE | NO | NO |
SIGNATURE_POLICY_SPURI | The Signature Policy URI. | NONE | NO | NO |
Signer location attributes
The following properties can be used to set the signer location as part of the B-level signed attributes:
Property | Description | Default Value | Mandatory | Metadata Support |
---|---|---|---|---|
SIGNER_LOCATION_LOCALITY | The locality (city) in which the street address is, and which is in the region. | NONE | NO | NO |
SIGNER_LOCATION_COUNTRY | The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code. | NONE | NO | NO |
SIGNER_LOCATION_POSTAL_ADDRESS.N | A sequence defined a Postal Address. You can defined multiple values that will be included as a postal address based on the number N at the end of the property, for example:
| NONE | NO | NO |
SIGNER_LOCATION_POSTAL_CODE | The postal code (ZIP-code). | NONE | NO | NO |
SIGNER_LOCATION_POST_OFFICE_BOX_NUMBER | The post office box number for PO box addresses. | NONE | NO | NO |
SIGNER_LOCATION_STATE_OR_PROVINCE | State or province. The region in which the locality is, and which is in the country. | NONE | NO | NO |
SIGNER_LOCATION_STREET_ADDRESS | The street address. | NONE | NO | NO |