Class AlgorithmIdentifierBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.AlgorithmIdentifierBC
- All Implemented Interfaces:
-
IASN1Encodable
,IAlgorithmIdentifier
Wrapper class for
AlgorithmIdentifier
.
-
Constructor Summary
ConstructorDescriptionAlgorithmIdentifierBC
(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) Creates new wrapper instance forAlgorithmIdentifier
. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetAlgorithm
method for the wrapped AlgorithmIdentifier object.org.bouncycastle.asn1.x509.AlgorithmIdentifier
Gets actual org.bouncycastle object being wrapped.Calls actualgetParameters
method for the wrapped AlgorithmIdentifier object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
AlgorithmIdentifierBC
public AlgorithmIdentifierBC(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) Creates new wrapper instance forAlgorithmIdentifier
.- Parameters:
-
algorithmIdentifier
-AlgorithmIdentifier
to be wrapped
-
-
Method Details
-
getAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
AlgorithmIdentifier
.
-
getAlgorithm
Calls actualgetAlgorithm
method for the wrapped AlgorithmIdentifier object.- Specified by:
-
getAlgorithm
in interfaceIAlgorithmIdentifier
- Returns:
-
IASN1ObjectIdentifier
wrapped algorithm ASN1ObjectIdentifier.
-
getParameters
Calls actualgetParameters
method for the wrapped AlgorithmIdentifier object.- Specified by:
-
getParameters
in interfaceIAlgorithmIdentifier
- Returns:
-
IASN1Encodable
wrapped algorithm parameters.
-