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
- KeyStoreException
CertificateException
NoSuchAlgorithmException
IOException
UnrecoverableKeyException
public org.bouncycastle.tsp.TimeStampResponse sign(org.bouncycastle.tsp.TimeStampRequest request) throws org.bouncycastle.operator.OperatorCreationException, org.bouncycastle.tsp.TSPException, CertificateEncodingException
sign
in interface TimeStampSignature
request
- time stamp requestorg.bouncycastle.operator.OperatorCreationException
org.bouncycastle.tsp.TSPException
CertificateEncodingException
Copyright © 2018 Vitam. All rights reserved.