Package com.itextpdf.bouncycastle.asn1
Class ASN1EncodableVectorBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableVectorBC
- All Implemented Interfaces:
-
IASN1EncodableVector
Wrapper class for
ASN1EncodableVector
.
-
Constructor Summary
ConstructorDescriptionCreates new wrapper instance for newASN1EncodableVector
object.ASN1EncodableVectorBC
(org.bouncycastle.asn1.ASN1EncodableVector encodableVector) Creates new wrapper instance forASN1EncodableVector
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(IAttribute attribute) Calls actualadd
method for the wrapped ASN1EncodableVector object.void
add
(IASN1Primitive primitive) Calls actualadd
method for the wrapped ASN1EncodableVector object.void
add
(IAlgorithmIdentifier element) Calls actualadd
method for the wrapped ASN1EncodableVector object.void
addOptional
(IAttribute attribute) Calls actualadd
method for the wrapped ASN1EncodableVector object if the attribute is not null.void
addOptional
(IASN1Primitive primitive) Calls actualadd
method for the wrapped ASN1EncodableVector object if the primitive is not null.void
addOptional
(IAlgorithmIdentifier element) Calls actualadd
method for the wrapped ASN1EncodableVector object if the element is not null.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.asn1.ASN1EncodableVector
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.int
size()
Calls actualsize
method for the wrapped ASN1EncodableVector object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
ASN1EncodableVectorBC
public ASN1EncodableVectorBC()Creates new wrapper instance for newASN1EncodableVector
object. -
ASN1EncodableVectorBC
public ASN1EncodableVectorBC(org.bouncycastle.asn1.ASN1EncodableVector encodableVector) Creates new wrapper instance forASN1EncodableVector
.- Parameters:
-
encodableVector
-ASN1EncodableVector
to be wrapped
-
-
Method Details
-
getEncodableVector
public org.bouncycastle.asn1.ASN1EncodableVector getEncodableVector()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1EncodableVector
.
-
add
Calls actualadd
method for the wrapped ASN1EncodableVector object.- Specified by:
-
add
in interfaceIASN1EncodableVector
- Parameters:
-
primitive
- ASN1Primitive wrapper.
-
add
Calls actualadd
method for the wrapped ASN1EncodableVector object.- Specified by:
-
add
in interfaceIASN1EncodableVector
- Parameters:
-
attribute
- Attribute wrapper.
-
add
Calls actualadd
method for the wrapped ASN1EncodableVector object.- Specified by:
-
add
in interfaceIASN1EncodableVector
- Parameters:
-
element
- AlgorithmIdentifier wrapper.
-
addOptional
Calls actualadd
method for the wrapped ASN1EncodableVector object if the primitive is not null.- Specified by:
-
addOptional
in interfaceIASN1EncodableVector
- Parameters:
-
primitive
- ASN1Primitive wrapper.
-
addOptional
Calls actualadd
method for the wrapped ASN1EncodableVector object if the attribute is not null.- Specified by:
-
addOptional
in interfaceIASN1EncodableVector
- Parameters:
-
attribute
- Attribute wrapper.
-
addOptional
Calls actualadd
method for the wrapped ASN1EncodableVector object if the element is not null.- Specified by:
-
addOptional
in interfaceIASN1EncodableVector
- Parameters:
-
element
- AlgorithmIdentifier wrapper.
-
size
public int size()Calls actualsize
method for the wrapped ASN1EncodableVector object.- Specified by:
-
size
in interfaceIASN1EncodableVector
- Returns:
-
int
representing current vector size
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object.
-