Class RemoteTimestampKeystore
java.lang.Object
br.ufsc.labsec.signature.tsa.providers.RemoteTimestampKeystore
- All Implemented Interfaces:
CertificateInformation
,InformationSigner
,RemoteKeyStore
public class RemoteTimestampKeystore extends Object implements RemoteKeyStore
-
Constructor Summary
Constructors Constructor Description RemoteTimestampKeystore()
-
Method Summary
Modifier and Type Method Description Certificate
getCertificate()
byte[]
sign(byte[] data, String signatureSuite)
Assina um hash
-
Constructor Details
-
RemoteTimestampKeystore
public RemoteTimestampKeystore()
-
-
Method Details
-
getCertificate
- Specified by:
getCertificate
in interfaceCertificateInformation
-
sign
Description copied from interface:InformationSigner
Assina um hash- Specified by:
sign
in interfaceInformationSigner
- Parameters:
data
- Dados que serão assinadossignatureSuite
- O algoritmo de assinatura que será usado- Returns:
- Os bytes do hash assinado
- Throws:
SignerException
- Algum erro desconhecido ao tentar realizar a assinatura
-