public class SignaturePolicyInfo extends Object
Sample:
SignaturePolicyInfo spi = new SignaturePolicyInfo("2.16.724.1.3.1.1.2.1.9", "G7roucf600+f03r/o0bAOQ6WAs0=", "SHA-1", "https://sede.060.gob.es/politica_de_firma_anexo_1.pdf");
| Constructor and Description |
|---|
SignaturePolicyInfo(String policyIdentifier,
byte[] policyHash,
String policyDigestAlgorithm,
String policyUri)
Constructs a new
SignaturePolicyInfo instance |
SignaturePolicyInfo(String policyIdentifier,
String policyHashBase64,
String policyDigestAlgorithm,
String policyUri)
Constructs a new
SignaturePolicyInfo instance |
| Modifier and Type | Method and Description |
|---|---|
String |
getPolicyDigestAlgorithm() |
byte[] |
getPolicyHash() |
String |
getPolicyIdentifier() |
String |
getPolicyUri() |
public SignaturePolicyInfo(String policyIdentifier, byte[] policyHash, String policyDigestAlgorithm, String policyUri)
SignaturePolicyInfo instancepolicyIdentifier - the id of the signature policypolicyHash - the hash of the signature policypolicyDigestAlgorithm - the digestion algorithm of the signature policypolicyUri - the uri of the full policy descriptionpublic SignaturePolicyInfo(String policyIdentifier, String policyHashBase64, String policyDigestAlgorithm, String policyUri)
SignaturePolicyInfo instancepolicyIdentifier - the id of the signature policypolicyHashBase64 - the Base64 presentation of the hash of the signature policypolicyDigestAlgorithm - the digestion algorithm of the signature policypolicyUri - the uri of the full policy descriptionCopyright © 1998–2024 Apryse Group NV. All rights reserved.