Skip navigation links

Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10674-04


oracle.security.crypto.cert
Class Entity

java.lang.Object
  extended by oracle.security.crypto.cert.Entity

All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
X500Name

Deprecated. Use instead

public class Entity
extends java.lang.Object
implements java.io.Externalizable

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.

See Also:
Certificate, Serialized Form

Constructor Summary
Entity()
          Deprecated. Creates a new, unnamed entity.
Entity(java.lang.String name)
          Deprecated. Creates a new entity with the given name.

 

Method Summary
 boolean equals(java.lang.Object obj)
          Deprecated. Returns true if and the only if the specified object is an Entity with the same name.
 java.lang.String getName()
          Deprecated. Returns the name of this entity.
 void readExternal(java.io.ObjectInput is)
          Deprecated.  
 void setName(java.lang.String name)
          Deprecated. Sets the name of this entity.
 void writeExternal(java.io.ObjectOutput os)
          Deprecated.  

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Entity

public Entity()
Deprecated. 
Creates a new, unnamed entity.

Entity

public Entity(java.lang.String name)
Deprecated. 
Creates a new entity with the given name.

Method Detail

getName

public java.lang.String getName()
Deprecated. 
Returns the name of this entity.

setName

public void setName(java.lang.String name)
Deprecated. 
Sets the name of this entity.

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Returns true if and the only if the specified object is an Entity with the same name.
Overrides:
equals in class java.lang.Object

writeExternal

public void writeExternal(java.io.ObjectOutput os)
                   throws java.io.IOException
Deprecated. 
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput is)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deprecated. 
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

Skip navigation links

Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10674-04


Copyright © 2005, 2011 , Oracle. All rights reserved.