List of usage examples for java.security.cert PKIXParameters getDate
public Date getDate()
From source file:Main.java
protected static Date getValidDate(PKIXParameters paramsPKIX) { Date validDate = paramsPKIX.getDate(); if (validDate == null) { validDate = new Date(); }/*w w w . ja va2 s.c o m*/ return validDate; }