Oracle Security Developer Tools Security Engine Java API Reference
10g (10.1.4.0.1)

B28175-01


oracle.security.crypto.cert
Class Entity

java.lang.Object
  extended byoracle.security.crypto.cert.Entity

Direct Known Subclasses:
X500Name

public class Entity
extends java.lang.Object

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

Constructor 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 initialize(byte[] data)
          Deprecated. No replacement.
 byte[] save()
          Deprecated. No replacement.
 void setName(java.lang.String name)
          Sets the name of this entity.

 

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

 

Constructor Detail

Entity

public Entity()
Creates a new, unnamed entity.

Entity

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

Method Detail

getName

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

setName

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

equals

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

initialize

public void initialize(byte[] data)
Deprecated. No replacement.
Initializes this entity by reading its name from the given byte array.

save

public byte[] save()
Deprecated. No replacement.
Returns the name of this entity, in the form of a byte array.

Oracle Security Developer Tools Security Engine Java API Reference
10g (10.1.4.0.1)

B28175-01


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