|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.tsp.TSPUtil
Constructor Summary | |
TSPUtil()
|
Method Summary | |
static java.util.Collection |
getSignatureTimestamps(SignerInformation signerInfo,
DigestCalculatorProvider digCalcProvider)
Fetches the signature time-stamp attributes from a SignerInformation object. |
static void |
validateCertificate(X509CertificateHolder cert)
Validate the passed in certificate as being of the correct type to be used for time stamping. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TSPUtil()
Method Detail |
public static java.util.Collection getSignatureTimestamps(SignerInformation signerInfo, DigestCalculatorProvider digCalcProvider) throws TSPValidationException
signerInfo
- a SignerInformation to search for time-stampsdigCalcProvider
- provider for digest calculatorsTSPValidationException
- public static void validateCertificate(X509CertificateHolder cert) throws TSPValidationException
cert
- the certificate of interest.TSPValidationException
- if the certificate fails on one of the check points.
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |