public class TSPUtil extends Object
| Constructor and Description |
|---|
TSPUtil() |
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
public static Collection getSignatureTimestamps(SignerInformation signerInfo, DigestCalculatorProvider digCalcProvider) throws TSPValidationException
signerInfo - a SignerInformation to search for time-stampsdigCalcProvider - provider for digest calculatorsTSPValidationExceptionpublic static void validateCertificate(X509CertificateHolder cert) throws TSPValidationException
cert - the certificate of interest.TSPValidationException - if the certificate fails on one of the check points.Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.