Class PublicKey

java.lang.Object
  |
  +--OoctiObject
        |
        +--Storage
              |
              +--Key
                    |
                    +--PublicKey
Direct Known Subclasses:
DiffieHellmanPublicKey, DsaPublicKey, EcdsaPublicKey, KeaPublicKey, RsaPublicKey

public class PublicKey
extends Key

Object that hold a public key.


Constructor Summary
PublicKey()
           
 
Method Summary
 Template getAttributeValue()
          Obtain the values of one or more attributes of an object.
 void setAttributeValue(Template attributes)
          Modifies the value of one or more attributes of an object.
 
Methods inherited from class OoctiObject
getAttributeValue, getObjectSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicKey

public PublicKey()
Method Detail

getAttributeValue

public Template getAttributeValue()
Obtain the values of one or more attributes of an object.

setAttributeValue

public void setAttributeValue(Template attributes)
Modifies the value of one or more attributes of an object.
Overrides:
setAttributeValue in class OoctiObject
Following copied from class: OoctiObject
Parameters:
template - Specifies which attribute values are to be modified.
Returns:
Returns the new attributes values.
Throws:
ATTRIBUTE_READ_ONLY -  
ATTRIBUTE_TYPE_INVALID -  
CRYPTOKI_NOT_INITIALIZED -  
DEVICE_ERROR -  
DEVICE_MEMORY -  
DEVICE_REMOVED -  
FUNCTION_FAILED -  
GENERAL_ERROR -  
HOST_MEMORY -  
OBJECT_HANDLE_INVALID -  
SESSION_CLOSED -  
SESSION_HANDLE_INVALID -  
SESSION_READ_ONLY -  
TEMPLATE_INCONSISTENT -  
TOKEN_WRITE_PROTECTED -  
ARGUMENTS_BAD -  
USER_NOT_LOGGED_IN -