org.bouncycastle.tsp
Class TSPUtil
java.lang.Object
org.bouncycastle.tsp.TSPUtil
public class TSPUtil
extends java.lang.Object
static void | validateCertificate(X509Certificate cert) - Validate the passed in certificate as being of the correct type to be used
for time stamping.
|
validateCertificate
public static void validateCertificate(X509Certificate cert)
throws TSPValidationException
Validate the passed in certificate as being of the correct type to be used
for time stamping. To be valid it must have an ExtendedKeyUsage extension
which has a key purpose identifier of id-kp-timeStamping.
cert
- the certificate of interest.