|
Bouncy Castle Cryptography 1.45 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.bouncycastle.tsp.TSPUtil
public class TSPUtil
| Constructor Summary | |
|---|---|
TSPUtil()
|
|
| Method Summary | |
|---|---|
static java.util.Collection |
getSignatureTimestamps(org.bouncycastle.cms.SignerInformation signerInfo,
java.security.Provider provider)
Fetches the signature time-stamp attributes from a SignerInformation object. |
static void |
validateCertificate(java.security.cert.X509Certificate 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(org.bouncycastle.cms.SignerInformation signerInfo,
java.security.Provider provider)
throws TSPValidationException
signerInfo - a SignerInformation to search for time-stampsprovider - an optional provider to use to create MessageDigest instances
TSPValidationException
public static void validateCertificate(java.security.cert.X509Certificate cert)
throws TSPValidationException
cert - the certificate of interest.
TSPValidationException - if the certicate fails on one of the check points.
|
Bouncy Castle Cryptography 1.45 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||