Package com.itextpdf.signatures.cms
Class AlgorithmIdentifier
java.lang.Object
com.itextpdf.signatures.cms.AlgorithmIdentifier
This class represents algorithm identifier structure.
-
Constructor Summary
ConstructorDescriptionAlgorithmIdentifier
(String algorithmId) Creates an Algorithm identifier structure without parameters.AlgorithmIdentifier
(String algorithmId, IASN1Primitive parameters) Creates an Algorithm identifier structure with parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturn the OID of the algorithm.Return the parameters for the algorithm.
-
Constructor Details
-
AlgorithmIdentifier
Creates an Algorithm identifier structure without parameters.- Parameters:
-
algorithmId
- the Object id of the algorithm
-
AlgorithmIdentifier
Creates an Algorithm identifier structure with parameters.- Parameters:
-
algorithmId
- the Object id of the algorithm -
parameters
- the algorithm parameters as an ASN1 structure
-
-
Method Details
-
getAlgorithmOid
Return the OID of the algorithm.- Returns:
- the OID of the algorithm.
-
getParameters
Return the parameters for the algorithm.- Returns:
- the parameters for the algorithm.
-