|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.oyster.der.DERObject
org.enhydra.oyster.der.DERSetPr
org.enhydra.oyster.cms.RelativeDistinguishedName
RelativeDistinguishedName class is DER encoded container represented in ASN.1 notation according to RFC2630. It is used to hold just one information about owner or issuer of certificate (it can be name or country etc.). Collection of RelativeDistinguishedName builds IssuerName. Details about ASN.1 notation are described in class IssuerAndSerialNumber. RelativeDistinguishedName class is used only by addParticularRelativeDN method of IssuerAndSerialNumber.
Constructor Summary | |
RelativeDistinguishedName()
Constructs empty RelativeDistinguishedName object. |
|
RelativeDistinguishedName(int[] arrayID0,
java.lang.String value0)
Constructs specific RelativeDistinguishedName object according to arrayID0. |
|
RelativeDistinguishedName(java.lang.String id0,
java.lang.String typeConstruction0,
java.lang.String value0)
Constructs specific RelativeDistinguishedName object according to id0. |
Method Summary | |
void |
setAttributeTypeAndValue(int[] arrayID0,
java.lang.String value0)
Sets type and value for particular attribute. |
void |
setAttributeTypeAndValue(java.lang.String id0,
java.lang.String typeConstruction0,
java.lang.String value0)
Sets type and value for particular attribute. |
Methods inherited from class org.enhydra.oyster.der.DERSetPr |
addContent |
Methods inherited from class org.enhydra.oyster.der.DERObject |
getContentOctets, getContentPartSize, getDEREncoded, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RelativeDistinguishedName() throws SMIMEException
SMIMEException
- thrown in super class constructor.public RelativeDistinguishedName(java.lang.String id0, java.lang.String typeConstruction0, java.lang.String value0) throws SMIMEException
id0
- define Object Identifier in representation determined by second
parameter - typeConstruction0.typeConstruction0
- can take values DOT_SEPARATED_ARRAY and NAME_STRINGvalue0
- value of attribute of corresponding type defined by
id0 and typeConstruction0
SMIMEException
- if wrong type of parameters are passed to the
constructor. Also, it can be thrown by super class constructor.public RelativeDistinguishedName(int[] arrayID0, java.lang.String value0) throws SMIMEException
arrayID0
- array of given numbers (example: for COUNTRYNAME object
identifier those numbers are 2, 5, 4 and 6)value0
- value of corresponding attribute defined by id0 and
typeConstruction0
SMIMEException
- if wrong type of parameters are passed to the
constructor. Also, it can be thrown by super class constructor.Method Detail |
public void setAttributeTypeAndValue(java.lang.String id0, java.lang.String typeConstruction0, java.lang.String value0) throws SMIMEException
id0
- same as in the second type of constructor.typeConstruction0
- same as in the second type of constructor.value0
- same as in the second type of constructor.
SMIMEException
- if method is performed twice for same object or if
object wasn't constructed with the simplest constructor. Also, it can be
thrown from super class addContent method.public void setAttributeTypeAndValue(int[] arrayID0, java.lang.String value0) throws SMIMEException
arrayID0
- same as in the third type of constructor.value0
- same as in the third type of constructor.
SMIMEException
- if method is performed twice for same object or if
object wasn't constructed with the simplest constructor. Also, it can be
thrown from super class addContent method.
|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |