|
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.DigestAlgorithmIdentifiers
DigestAlgorithmIdentifiers class is DER encoded set of Digest Algorithm
Identifiers represented in ASN.1 notation according to RFC2630. This class is
used in CMS objects for signed messages and represents container for all Digest
Algorithm Identifiers (one or more) used in the process of signing.
DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier
Constructor Summary | |
DigestAlgorithmIdentifiers()
Construction of empty container for Digest Algorithm Identifiers |
Method Summary | |
void |
addDigestAlgId(int[] arrayID0)
Adds Digest Object Identifier to the instance of class DigestAlgorithmIdentifiers with no additional parameters. |
void |
addDigestAlgId(int[] arrayID0,
byte[] algParam0)
Adds Digest Object Identifier to the instance of class DigestAlgorithmIdentifiers with parameters represented as byte array. |
void |
addDigestAlgId(java.lang.String id0,
java.lang.String typeConstruction0)
Adds Digest Object Identifier to the instance of class DigestAlgorithmIdentifiers with no additional parameters. |
void |
addDigestAlgId(java.lang.String id0,
java.lang.String typeConstruction0,
byte[] algParam0)
Adds Digest Object Identifier to the instance of class DigestAlgorithmIdentifiers with parameters represented as byte array. |
void |
addDigestAlgIdNullPar(int[] arrayID0)
Adds Digest Object Identifier to the instance of class DigestAlgorithmIdentifiers with DER encoded null value for parameter. |
void |
addDigestAlgIdNullPar(java.lang.String id0,
java.lang.String typeConstruction0)
Adds Digest Object Identifier to the instance of class DigestAlgorithmIdentifiers with DER encoded null value for parameter. |
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 DigestAlgorithmIdentifiers() throws SMIMEException
SMIMEException
- thrown from super class constructor.Method Detail |
public void addDigestAlgId(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. Also, it
can be thrown from super class addContent method.public void addDigestAlgIdNullPar(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. Also, it
can be thrown from super class addContent method.public void addDigestAlgId(java.lang.String id0, java.lang.String typeConstruction0, byte[] algParam0) throws SMIMEException
id0
- defines Object Identifier in representation determined by second
parameter - typeConstruction0.typeConstruction0
- can take values DOT_SEPARATED_ARRAY and NAME_STRINGalgParam0
- byte array representation of Digest Algorithm Identifier
parameter
SMIMEException
- if wrong type of parameters are passed. Also, it
can be thrown from super class addContent method.public void addDigestAlgId(int[] arrayID0) throws SMIMEException
arrayID0
- array of given numbers (example: for SHA1 algorithm,
numbers are 1, 3, 14, 3, 2 and 26).
SMIMEException
- if wrong type of parameters are passed. Also, it
can be thrown from super class addContent method.public void addDigestAlgIdNullPar(int[] arrayID0) throws SMIMEException
arrayID0
- array of given numbers (example: for SHA1 algorithm,
numbers are 1, 3, 14, 3, 2 and 26).
SMIMEException
- if wrong type of parameters are passed. Also, it
can be thrown from super class addContent method.public void addDigestAlgId(int[] arrayID0, byte[] algParam0) throws SMIMEException
arrayID0
- array of given numbers (example: for SHA1 algorithm,
numbers are 1, 3, 14, 3, 2 and 26).algParam0
- byte array representation of Digest Algorithm Identifier
parameter
SMIMEException
- if wrong type of parameters are passed. 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 |