org.glite.security.trustmanager
Class InstanceID
java.lang.Object
org.glite.security.trustmanager.InstanceID
public class InstanceID
- extends java.lang.Object
Defines the OpensslTrustmanager instance.
- Author:
- Joni Hahkala
Constructor Summary |
InstanceID(java.lang.String id,
java.lang.String path,
boolean crlRequired)
The constructor for the instanceID |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
InstanceID
public InstanceID(java.lang.String id,
java.lang.String path,
boolean crlRequired)
- The constructor for the instanceID
- Parameters:
id
- The optional id for this trustmanager, to distinguish between trustmanagers with same configuration.
Can be null.path
- The Trust anchor path. Can't be null.crlRequired
- Whether CRLs are required or not for the trustmanager.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getID
public java.lang.String getID()
- Returns:
- the ID of this trustmanager.
getPath
public java.lang.String getPath()
- Returns:
- the path for trust anchors of this trustmanager.
isCRLRequired
public boolean isCRLRequired()
- Returns:
- Whether the CRLs are required or not.