| java.lang.Object org.enhydra.oyster.der.DERObject org.enhydra.oyster.der.DERObjectIdentifier
All known Subclasses: org.enhydra.oyster.cms.ContentTypeIdentifier,
DERObjectIdentifier | public class DERObjectIdentifier extends DERObject (Code) | | DERObjectIdentifier is primitive type of DER encoded object which represents
Object Identifier type in ASN.1 notation. A value (distinguishable from all
other such values) which is associated with an information object. For
example object identifier for RSA algorithm is 1.2.840.113549.1.1.1.
Implemented object identifiers are stored in class IdentifierStorage.
|
Constructor Summary | |
public | DERObjectIdentifier(String id0, String typeConstruction0) This constructor has two different forms, depend on parameter typeConstruction0,
which can be: DOT_SEPARATED_ARRAY or NAME_STRING. | public | DERObjectIdentifier(int[] arrayID0) Array of numbers is used for construction of DERObjectIdentifier. |
DERObjectIdentifier | public DERObjectIdentifier(String id0, String typeConstruction0) throws SMIMEException(Code) | | This constructor has two different forms, depend on parameter typeConstruction0,
which can be: DOT_SEPARATED_ARRAY or NAME_STRING. If typeConstruction0 parameter
is DOT_SEPARATED_ARRAY then id0 definition is represented by numbers separated
with dots (example: "1.2.840.113549.1.1.1"). In the case of NAME_STRING, id0
definition is name of object identifier (example: "RSA").
Parameters: id0 - defines Object Identifier in representation determined by thesecond parameter - typeConstruction0. Parameters: typeConstruction0 - can take values DOT_SEPARATED_ARRAY and NAME_STRING exception: SMIMEException - if wrong type of parameters are passed to theconstructor. Also, exception could be thrown in super class constructor orin super class addContent method. |
DERObjectIdentifier | public DERObjectIdentifier(int[] arrayID0) throws SMIMEException(Code) | | Array of numbers is used for construction of DERObjectIdentifier. Every number in
array represents one number between dots in the object identifier string.
Parameters: arrayID0 - array of given numbers (example: for RSA algorithm thosenumbers are 1, 2, 840, 113549, 1, 1, and 1). exception: SMIMEException - if wrong type of parameters are passed to theconstructor. Also, exception could be thrown in super class constructor orin super class addContent method. |
|
|