|
Oracle Security Developer Tools Security Engine Java API Reference 11g (11.1.1) E10674-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.Entity
public class Entity
A class that represents an entity, such as a person, an object, or a holder of a certificate.
One notion which is common to all entity classes is the name of the entity, represented by a string. Subclasses may introduce additional properties.
Certificate
, Serialized FormConstructor Summary | |
---|---|
Entity() Creates a new, unnamed entity. |
|
Entity(java.lang.String name) Creates a new entity with the given name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) Returns true if and the only if the specified object is an Entity with the same name. |
java.lang.String |
getName() Returns the name of this entity. |
void |
readExternal(java.io.ObjectInput is) |
void |
setName(java.lang.String name) Sets the name of this entity. |
void |
writeExternal(java.io.ObjectOutput os) |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Entity()
public Entity(java.lang.String name)
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean equals(java.lang.Object obj)
Entity
with the same name.equals
in class java.lang.Object
public void writeExternal(java.io.ObjectOutput os) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput is) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
Oracle Security Developer Tools Security Engine Java API Reference 11g (11.1.1) E10674-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |