Class AlgorithmIdentifierBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.AlgorithmIdentifierBC
-
- All Implemented Interfaces:
IASN1Encodable,IAlgorithmIdentifier
public class AlgorithmIdentifierBC extends ASN1EncodableBC implements IAlgorithmIdentifier
Wrapper class forAlgorithmIdentifier.
-
-
Constructor Summary
Constructors Constructor Description AlgorithmIdentifierBC(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)Creates new wrapper instance forAlgorithmIdentifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IASN1ObjectIdentifiergetAlgorithm()Calls actualgetAlgorithmmethod for the wrapped AlgorithmIdentifier object.org.bouncycastle.asn1.x509.AlgorithmIdentifiergetAlgorithmIdentifier()Gets actual org.bouncycastle object being wrapped.IASN1EncodablegetParameters()Calls actualgetParametersmethod 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
-
-
-
-
Method Detail
-
getAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
AlgorithmIdentifier.
-
getAlgorithm
public IASN1ObjectIdentifier getAlgorithm()
Calls actualgetAlgorithmmethod for the wrapped AlgorithmIdentifier object.- Specified by:
getAlgorithmin interfaceIAlgorithmIdentifier- Returns:
IASN1ObjectIdentifierwrapped algorithm ASN1ObjectIdentifier.
-
getParameters
public IASN1Encodable getParameters()
Calls actualgetParametersmethod for the wrapped AlgorithmIdentifier object.- Specified by:
getParametersin interfaceIAlgorithmIdentifier- Returns:
IASN1Encodablewrapped algorithm parameters.
-
-