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
ConstructorsConstructorDescriptionAlgorithmIdentifierBC(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) Creates new wrapper instance forAlgorithmIdentifier. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetAlgorithmmethod for the wrapped AlgorithmIdentifier object.org.bouncycastle.asn1.x509.AlgorithmIdentifierGets actual org.bouncycastle object being wrapped.Calls actualgetParametersmethod for the wrapped AlgorithmIdentifier object.Methods inherited from class ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from interface IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
AlgorithmIdentifierBC
public AlgorithmIdentifierBC(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier) Creates new wrapper instance forAlgorithmIdentifier.- Parameters:
algorithmIdentifier-AlgorithmIdentifierto be wrapped
-
-
Method Details
-
getAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
AlgorithmIdentifier.
-
getAlgorithm
Calls actualgetAlgorithmmethod for the wrapped AlgorithmIdentifier object.- Specified by:
getAlgorithmin interfaceIAlgorithmIdentifier- Returns:
IASN1ObjectIdentifierwrapped algorithm ASN1ObjectIdentifier.
-
getParameters
Calls actualgetParametersmethod for the wrapped AlgorithmIdentifier object.- Specified by:
getParametersin interfaceIAlgorithmIdentifier- Returns:
IASN1Encodablewrapped algorithm parameters.
-