nl.nikhef.slcshttps.trust
Class TrustCert.Status
java.lang.Object
nl.nikhef.slcshttps.trust.TrustCert.Status
- Enclosing class:
- TrustCert
protected class TrustCert.Status
- extends Object
Nested class, contains the status fields relevant for an alias: whether
the alias was added for a (in)valid name and/or (in)valid date; the
certchain is not relevant for a certain alias, since it's the same for
all aliases.
It's protected and not private so
that e.g. TrustManagerImpl can also access it. A status
field can be used to reflect the state at the moment an invalid
certificate was accepted but also to contain the current status of the
certificate.
- Version:
- 0.1
- Author:
- Mischa Sallé
|
Field Summary |
boolean |
expired
true when one of the certificates in the chain is
expired. |
boolean |
nameValid
true when the hostname is valid for the certificate. |
boolean |
notYet
true when one of the certificates in the chain is
not yet valid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nameValid
public boolean nameValid
true when the hostname is valid for the certificate.
expired
public boolean expired
true when one of the certificates in the chain is
expired.
notYet
public boolean notYet
true when one of the certificates in the chain is
not yet valid.
TrustCert.Status
protected TrustCert.Status()
copy
public TrustCert.Status copy()
- Method to clone the
Status.
- Returns:
- clone of the
Status. - See Also:
copy(TrustCert.Status)
copy
public TrustCert.Status copy(TrustCert.Status outputStatus)
- Method to copy the
Status.
When outputStatus is non-null it is copied
into that and returned, otherwise a new Status is
created and returned.
- Parameters:
outputStatus - Status instance to put the copy in,
can be null in which case it's ignored.
- Returns:
- when
outputStatus is non-null it is
returned containing a copy of this, otherwise a new
Status containing a copy of this. - See Also:
copy()
| nl.nikhef.slcshttps
| Mischa Sallé - msalle(AT)nikhef.nl
|