com.rsa.certj.cert.attributes

Class V3ExtensionAttribute

java.lang.Object
  |
  +--com.rsa.certj.cert.attributes.X501Attribute
        |
        +--com.rsa.certj.cert.attributes.V3ExtensionAttribute
All Implemented Interfaces:
Cloneable, Serializable

public class V3ExtensionAttribute
extends X501Attribute
implements Cloneable, Serializable

This class holds, encodes, and decodes an attribute that is actually composed of X.509 v3 extensions.

Copyright © RSA Security Inc., 1999-2001. All rights reserved.

See Also

Serialized Form

Fields inherited from class com.rsa.certj.cert.attributes.X501Attribute
CHALLENGE_PASSWORD, CONTENT_TYPE, COUNTRY_OF_CITIZENSHIP, COUNTRY_OF_RESIDENCE, CRS_DUAL_STATUS, CRS_FAILURE_INFO, CRS_MESSAGE_TYPE, CRS_PKI_STATUS, CRS_RECIPIENT_NONCE, CRS_SENDER_NONCE, CRS_TRANSACTION_ID, CRS_VERSION, DATE_OF_BIRTH, FRIENDLY_NAME, GENDER, LOCAL_KEY_ID, MESSAGE_DIGEST, NON_STANDARD, PLACE_OF_BIRTH, POSTAL_ADDRESS, PSEUDONYM, SIGNING_TIME, SMART_CSP, X509_V3_EXTENSION
 

Constructor Summary

V3ExtensionAttribute()

Constructs an empty V3ExtensionAttribute object.

V3ExtensionAttribute(X509V3Extensions extensionsObject)

Constructs a V3ExtensionAttribute object and initializes it with the value given.

 

Method Summary

 Object

clone()

Overrides the default clone method to get a deeper clone.

 boolean

equals(Object obj)

Returns true if this object and obj contain the same V3ExtensionAttribute, returns false otherwise.

 X509V3Extensions

getV3ExtensionAttribute()

Gets the value of this attribute, the X.509 v3 extensions.

 void

setV3ExtensionAttribute(X509V3Extensions extensionsObject)

Sets the value of this attribute, the extensions.

 
Methods inherited from class com.rsa.certj.cert.attributes.X501Attribute
clearSensitiveData, compareOID, derEncodeAttributeLen, getAttributeType, getAttributeTypeString, getDEREncoding, getDERLen, getInstance, getNextBEROffset, getOID, isAttributeType
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

V3ExtensionAttribute

public V3ExtensionAttribute()
Constructs an empty V3ExtensionAttribute object.

V3ExtensionAttribute

public V3ExtensionAttribute(X509V3Extensions extensionsObject)
Constructs a V3ExtensionAttribute object and initializes it with the value given.

Parameters

         extensionsObject  

An object that contains the X.509 v3 extensions to store.

Method Detail

setV3ExtensionAttribute

public void setV3ExtensionAttribute(X509V3Extensions extensionsObject)
Sets the value of this attribute, the extensions.

Parameters

         extensionsObject  

An object containing the extensions to store.


getV3ExtensionAttribute

public X509V3Extensions getV3ExtensionAttribute()
Gets the value of this attribute, the X.509 v3 extensions.

Returns

A new instance of the X509V3Extensions class.

clone

public Object clone()
             throws CloneNotSupportedException
Overrides the default clone method to get a deeper clone.

Overrides

clone in class X501Attribute

Returns

A new V3ExtensionAttribute object, a copy of this object.

Throws

CloneNotSupportedException - If the cloning operation is not successful.

equals

public boolean equals(Object obj)
Returns true if this object and obj contain the same V3ExtensionAttribute, returns false otherwise.

Overrides

equals in class Object

Parameters

         obj  

The instance of the V3ExtensionAttribute object.

Returns

A boolean indicating whether these objects are equal.


RSA BSAFE ® Cert-J 2.1.1 001-047007-211-001-000