Specifies the PAdES baseline level to produce when applying a digital signature.
from nutrient_sdk import SignatureLevelValues
| Name | Value | Description |
|---|---|---|
SignatureLevel.PADES_BASELINE_B | 0 | PAdES baseline B (B-B): a basic signature. This is the default. |
SignatureLevel.PADES_BASELINE_T | 1 | PAdES baseline T (B-T): a basic signature plus a trusted timestamp. Requires a timestamp configuration to be provided. |
SignatureLevel.PADES_BASELINE_LT | 2 | PAdES baseline LT (B-LT): long-term validation material — certificates and revocation information — is embedded in the document. Requires a timestamp configuration and network access to reach revocation services. |
SignatureLevel.PADES_BASELINE_LTA | 3 | PAdES baseline LTA (B-LTA): long-term validation material plus a document timestamp that protects it. Requires a timestamp configuration and network access. |
Usage Example
from nutrient_sdk import SignatureLevel
# Access enum valuesvalue = SignatureLevel.PADES_BASELINE_Bprint(f"Value: {value}") # Output: Value: SignatureLevel.PADES_BASELINE_Bprint(f"Integer value: {value.value}") # Output: Integer value: 0