|
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.DERSequencePr
org.enhydra.oyster.cms.AlgorithmIdentifier
AlgorithmIdentifier class is DER encoded Algorithm identifier represented in ASN.1
notation according to RFC2630.
Constructor Summary | |
AlgorithmIdentifier(int[] arrayID0)
Array of numbers is used for construction of DERObjectIdentifier. |
|
AlgorithmIdentifier(java.lang.String id0,
java.lang.String typeConstruction0)
This constructor has two different forms, depend on parameter typeConstruction0, which can be: DOT_SEPARATED_ARRAY or NAME_STRING. |
Method Summary | |
void |
addNullToAlgorithmId()
Adds DERNull parameter to AlgorithmIdentifier |
void |
addParamToAlgorithmId(byte[] parameter0)
Adds parameter to AlgorithmIdentifier |
Methods inherited from class org.enhydra.oyster.der.DERSequencePr |
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 AlgorithmIdentifier(java.lang.String id0, java.lang.String typeConstruction0) throws SMIMEException
id0
- defines Object Identifier in representation determined by second
parameter - typeConstruction0.typeConstruction0
- can take values DOT_SEPARATED_ARRAY and NAME_STRING
SMIMEException
- if wrong type of parameters are passed to the
constructor. Also, it can be thrown from super class constructor or its
addContent method.public AlgorithmIdentifier(int[] arrayID0) throws SMIMEException
arrayID0
- array of defined numbers (example: for RSA algoriths, numbers
are 1, 2, 840, 113549, 1, 1, and 1)
SMIMEException
- if wrong type of parameters are passed to the
constructor. Also, it can be thrown from super class constructor or its
addContent method.Method Detail |
public void addNullToAlgorithmId() throws SMIMEException
SMIMEException
- thrown from super class addContent method.public void addParamToAlgorithmId(byte[] parameter0) throws SMIMEException
parameter0
- byte array representation of appropriate parameter
SMIMEException
- 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 |