public class RequestSigner extends Object
| Constructor and Description |
|---|
RequestSigner() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
signRequest(PrivateKey privateKey,
Certificate[] certificates,
byte[] request,
String algorithm)
Signs a time stamp request.
|
public byte[] signRequest(PrivateKey privateKey, Certificate[] certificates, byte[] request, String algorithm)
privateKey - private key to sign with.certificates - certificate chain.request - request to be signed.algorithm - the algorithm to be used.Copyright © 2023 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.