Class AlgorithmIdentifier
java.lang.Object
com.itextpdf.signatures.cms.AlgorithmIdentifier
This class represents algorithm identifier structure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate static final IBouncyCastleFactoryprivate final IASN1Primitive -
Constructor Summary
ConstructorsConstructorDescriptionAlgorithmIdentifier(IASN1Encodable asnStruct) Creates an Algorithm identifier structure with parameters.AlgorithmIdentifier(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.(package private) IASN1SequenceReturn the parameters for the algorithm.
-
Field Details
-
BC_FACTORY
-
algorithm
-
parameters
-
-
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 algorithmparameters- the algorithm parameters as an ASN1 structure
-
AlgorithmIdentifier
AlgorithmIdentifier(IASN1Encodable asnStruct) Creates an Algorithm identifier structure with parameters.- Parameters:
asnStruct- asn1 encodable to retrieve algorithm identifier
-
-
Method Details
-
getAlgorithmOid
-
getParameters
Return the parameters for the algorithm.- Returns:
- the parameters for the algorithm.
-
getAsASN1Sequence
IASN1Sequence getAsASN1Sequence()
-