Java 类org.bouncycastle.asn1.crmf.OptionalValidity 实例源码

项目:gwt-crypto    文件:CertificateRequestMessageBuilder.java   
/**
 * Request a validity period for the certificate. Either, but not both, of the date parameters may be null.
 *
 * @param notBeforeDate not before date for certificate requested.
 * @param notAfterDate not after date for the certificate requested.
 *
 * @return the current builder.
 */
public CertificateRequestMessageBuilder setValidity(Date notBeforeDate, Date notAfterDate)
{
    templateBuilder.setValidity(new OptionalValidity(createTime(notBeforeDate), createTime(notAfterDate)));

    return this;
}
项目:Aki-SSL    文件:CertificateRequestMessageBuilder.java   
/**
 * Request a validity period for the certificate. Either, but not both, of the date parameters may be null.
 *
 * @param notBeforeDate not before date for certificate requested.
 * @param notAfterDate not after date for the certificate requested.
 *
 * @return the current builder.
 */
public CertificateRequestMessageBuilder setValidity(Date notBeforeDate, Date notAfterDate)
{
    templateBuilder.setValidity(new OptionalValidity(createTime(notBeforeDate), createTime(notAfterDate)));

    return this;
}
项目:irma_future_id    文件:CertificateRequestMessageBuilder.java   
/**
 * Request a validity period for the certificate. Either, but not both, of the date parameters may be null.
 *
 * @param notBeforeDate not before date for certificate requested.
 * @param notAfterDate not after date for the certificate requested.
 *
 * @return the current builder.
 */
public CertificateRequestMessageBuilder setValidity(Date notBeforeDate, Date notAfterDate)
{
    templateBuilder.setValidity(new OptionalValidity(createTime(notBeforeDate), createTime(notAfterDate)));

    return this;
}
项目:bc-java    文件:CertificateRequestMessageBuilder.java   
/**
 * Request a validity period for the certificate. Either, but not both, of the date parameters may be null.
 *
 * @param notBeforeDate not before date for certificate requested.
 * @param notAfterDate not after date for the certificate requested.
 *
 * @return the current builder.
 */
public CertificateRequestMessageBuilder setValidity(Date notBeforeDate, Date notAfterDate)
{
    templateBuilder.setValidity(new OptionalValidity(createTime(notBeforeDate), createTime(notAfterDate)));

    return this;
}