List of usage examples for org.bouncycastle.asn1.tsp TSTInfo getGenTime
public ASN1GeneralizedTime getGenTime()
From source file:de.rub.dez6a3.jpdfsigner.TimeStampToken.java
License:Open Source License
TimeStampTokenInfo(TSTInfo tstInfo) throws TSPException, IOException { this.tstInfo = tstInfo; try {//from www. ja v a 2 s .c om this.genTime = tstInfo.getGenTime().getDate(); } catch (ParseException e) { throw new TSPException("unable to parse genTime field"); } }