public class CertificateValidity extends Object implements Serializable
When the certificate is valid.
| Constructor and Description |
|---|
CertificateValidity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getNotAfter()
The certificate is not valid after this date.
|
Date |
getNotBefore()
The certificate is not valid before this date.
|
int |
hashCode() |
void |
setNotAfter(Date notAfter)
The certificate is not valid after this date.
|
void |
setNotBefore(Date notBefore)
The certificate is not valid before this date.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CertificateValidity |
withNotAfter(Date notAfter)
The certificate is not valid after this date.
|
CertificateValidity |
withNotBefore(Date notBefore)
The certificate is not valid before this date.
|
public Date getNotBefore()
The certificate is not valid before this date.
The certificate is not valid before this date.
public void setNotBefore(Date notBefore)
The certificate is not valid before this date.
notBefore - The certificate is not valid before this date.
public CertificateValidity withNotBefore(Date notBefore)
The certificate is not valid before this date.
Returns a reference to this object so that method calls can be chained together.
notBefore - The certificate is not valid before this date.
public Date getNotAfter()
The certificate is not valid after this date.
The certificate is not valid after this date.
public void setNotAfter(Date notAfter)
The certificate is not valid after this date.
notAfter - The certificate is not valid after this date.
public CertificateValidity withNotAfter(Date notAfter)
The certificate is not valid after this date.
Returns a reference to this object so that method calls can be chained together.
notAfter - The certificate is not valid after this date.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.