public class AOCAdESCounterSigner extends Object implements AOCounterSigner
| Constructor and Description |
|---|
AOCAdESCounterSigner()
Crea un contrafirmador CAdES con el firmador PKCS#1 por defecto.
|
AOCAdESCounterSigner(AOSimpleSigner sSigner,
Date d)
Crea un contrafirmador CAdES con un firmador PKCS#1 específico y una fecha/hora estática.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
countersign(byte[] sign,
String algorithm,
CounterSignTarget targetType,
Object[] targets,
PrivateKey key,
Certificate[] cChain,
Properties xParams) |
public AOCAdESCounterSigner()
public AOCAdESCounterSigner(AOSimpleSigner sSigner, Date d)
sSigner - Firmador PKCS#1 a usar.d - Fecha y hora prefijada (se usa esta como atributo CAdES en vez de la del momento exacto de la firma).public final byte[] countersign(byte[] sign,
String algorithm,
CounterSignTarget targetType,
Object[] targets,
PrivateKey key,
Certificate[] cChain,
Properties xParams)
throws AOException,
IOException
countersign in interface AOCounterSignerAOExceptionIOExceptionCopyright © 2021. All rights reserved.