Package com.nimbusds.common.id
Class CID
- java.lang.Object
-
- com.nimbusds.common.id.BaseIdentifier
-
- com.nimbusds.common.id.CID
-
- All Implemented Interfaces:
Identifier
,Comparable<Identifier>
,net.minidev.json.JSONAware
public final class CID extends BaseIdentifier
Represents a secure immutable connection identifier (CID). Originally intended to be used as handler for LDAP connections.
-
-
Field Summary
-
Fields inherited from class com.nimbusds.common.id.BaseIdentifier
DEFAULT_BYTE_LENGTH, SECURE_RANDOM
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
OverridesObject.equals()
.-
Methods inherited from class com.nimbusds.common.id.BaseIdentifier
compareTo, hashCode, toJSONString, toString
-
-
-
-
Constructor Detail
-
CID
public CID()
Creates a new unique connection identifier (CID) based on a secure randomly generated 256-bit number, Base64URL-encoded.
-
-
Method Detail
-
equals
public boolean equals(Object object)
Description copied from class:BaseIdentifier
OverridesObject.equals()
.- Specified by:
equals
in classBaseIdentifier
- Parameters:
object
- The object to compare to.- Returns:
true
if the objects have the same value, otherwisefalse
.
-
-