|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.cert.extensions.X509V3Extension | +--com.rsa.certj.cert.extensions.VeriSignNonVerifiedElements
This class builds and holds the VeriSignNonVerifiedElements
extension. It indicates the non-verified elements of a certificate.
-- Description: Extension whose content indicates the non-verified elements of a certificate. -- OID in decimal notation: (2.16.840.1.113733.1.6.4) -- Definition: id-non-verified OBJECT IDENTIFIER ::= {id-extensions non-verified(4)} NonVerified ::= SET OF ATTRIBUTE |
See Also
Constructor Summary |
|
VeriSignNonVerifiedElements()
Constructs an empty |
|
VeriSignNonVerifiedElements(X501Attributes attributes,
boolean criticality)
Constructs a |
Method Summary |
|
void |
addAttribute(X501Attribute attribute)
Adds a non-verified attribute to this extension. |
clone()
Overrides the default |
|
void |
decodeValue(byte[] valueBER,
int offset)
Decode the value. |
int |
derEncodeValue(byte[] encoding,
int offset)
Place the encoding of the value into encoding, beginning at offset. |
int |
derEncodeValueInit()
Initialize for encoding the value. |
getAttributeByIndex(int index)
Gets an attribute at the specified index in the list. |
|
int |
getAttributeCount()
Gets the number of attributes in this object. |
getAttributes()
Gets the attributes value of this extension. |
|
void |
setAttributes(X501Attributes attributes)
Sets attributes value of this extension. |
Methods inherited from class com.rsa.certj.cert.extensions.X509V3Extension |
extend, getCriticality, getDEREncoding, getDERLen, getExtensionType, getExtensionTypeString, getInstance, getNextBEROffset, isExtensionType, setCriticality, setEncoding, setSpecialOID, setStandardOID |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VeriSignNonVerifiedElements()
VeriSignNonVerifiedElements
object.public VeriSignNonVerifiedElements(X501Attributes attributes, boolean criticality)
VeriSignNonVerifiedElements
object
and initializes it with the given values.Parameters
attributes | The non-verified element of a certificate. | ||
criticality | The user-specified criticality. |
Method Detail |
public void addAttribute(X501Attribute attribute)
Parameters
attribute | A non-verified attribute. |
public void setAttributes(X501Attributes attributes)
Parameters
attributes | The non-verified elements of a certificate. |
public int getAttributeCount()
Returns
public X501Attribute getAttributeByIndex(int index) throws CertificateException
Parameters
index | The index to the attribute to retrieve. |
Returns
X501Attribute
object that contains
the attribute at the specified index.
Throws
CertificateException
- If the index into
attribute list is invalid.public X501Attributes getAttributes()
Returns
public void decodeValue(byte[] valueBER, int offset) throws CertificateException
Overrides
decodeValue
in class X509V3Extension
Parameters
valueBER | The BER encoding of the extension's value. | ||
offset | The offset into valueBER where the encoding begins. |
Throws
CertificateException
- If the encoding is invalid for this
extension.public int derEncodeValueInit()
Overrides
derEncodeValueInit
in class X509V3Extension
Returns
public int derEncodeValue(byte[] encoding, int offset)
Overrides
derEncodeValue
in class X509V3Extension
Parameters
encoding | The byte array into which the result will be placed. | ||
offset | The offest into encoding where the writing is to begin. |
Returns
public Object clone() throws CloneNotSupportedException
clone
method
to get a deeper clone.
Overrides
clone
in class X509V3Extension
Returns
VeriSignNonVerifiedElements
object,
a copy of this object.
Throws
CloneNotSupportedException
- If the cloning operation
is not successful.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |