public class TimeStampSignatureWithKeystore extends Object implements TimeStampSignature
| Constructor and Description |
|---|
TimeStampSignatureWithKeystore(File pkcs12Path,
char[] keystorePassword) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.tsp.TimeStampResponse |
sign(org.bouncycastle.tsp.TimeStampRequest request) |
public TimeStampSignatureWithKeystore(File pkcs12Path, char[] keystorePassword) throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException, UnrecoverableKeyException
pkcs12Path - file link to pkcs12 keystorekeystorePassword - KeyStoreExceptionCertificateExceptionNoSuchAlgorithmExceptionIOExceptionUnrecoverableKeyExceptionpublic org.bouncycastle.tsp.TimeStampResponse sign(org.bouncycastle.tsp.TimeStampRequest request)
throws org.bouncycastle.operator.OperatorCreationException,
org.bouncycastle.tsp.TSPException,
CertificateEncodingException
sign in interface TimeStampSignaturerequest - time stamp requestorg.bouncycastle.operator.OperatorCreationExceptionorg.bouncycastle.tsp.TSPExceptionCertificateEncodingExceptionCopyright © 2018 Vitam. All rights reserved.