< prev index next >

src/share/classes/sun/security/timestamp/TimestampToken.java

Print this page
rev 1522 : 8009636: JARSigner including TimeStamp PolicyID (TSAPolicyID) as defined in RFC3161
Reviewed-by: mullan

@@ -117,10 +117,14 @@
 
     public BigInteger getSerialNumber() {
         return serialNumber;
     }
 
+    public String getPolicyID() {
+        return policy.toString();
+    }
+
     /*
      * Parses the timestamp token info.
      *
      * @param timestampTokenInfo A buffer containing an ASN.1 BER encoded
      *                           TSTInfo.
< prev index next >