Interface IASN1EncodableVector
- All Known Implementing Classes:
-
ASN1EncodableVectorBC
,ASN1EncodableVectorBCFips
public interface IASN1EncodableVector
This interface represents the wrapper for ASN1EncodableVector that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
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.int
size()
Calls actualsize
method for the wrapped ASN1EncodableVector object.
-
Method Details
-
add
Calls actualadd
method for the wrapped ASN1EncodableVector object.- Parameters:
-
primitive
- ASN1Primitive wrapper.
-
add
Calls actualadd
method for the wrapped ASN1EncodableVector object.- Parameters:
-
attribute
- Attribute wrapper.
-
add
Calls actualadd
method for the wrapped ASN1EncodableVector object.- Parameters:
-
element
- AlgorithmIdentifier wrapper.
-
addOptional
Calls actualadd
method for the wrapped ASN1EncodableVector object if the primitive is not null.- Parameters:
-
primitive
- ASN1Primitive wrapper.
-
addOptional
Calls actualadd
method for the wrapped ASN1EncodableVector object if the attribute is not null.- Parameters:
-
attribute
- Attribute wrapper.
-
addOptional
Calls actualadd
method for the wrapped ASN1EncodableVector object if the element is not null.- Parameters:
-
element
- AlgorithmIdentifier wrapper.
-
size
int size()Calls actualsize
method for the wrapped ASN1EncodableVector object.- Returns:
-
int
representing current vector size
-