Class RSASSAPSSParamsBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.pcks.RSASSAPSSParamsBC
- All Implemented Interfaces:
-
IASN1Encodable
,IRSASSAPSSParams
BC wrapper implementation for
IRSASSAPSSParams
.
-
Constructor Summary
ConstructorDescriptionRSASSAPSSParamsBC
(org.bouncycastle.asn1.pkcs.RSASSAPSSparams params) Creates new wrapper instance forRSASSAPSSparams
. -
Method Summary
Modifier and TypeMethodDescriptionReturn theIAlgorithmIdentifier
describing the digest algorithm to be used in the signature.Return theIAlgorithmIdentifier
describing the mask generation function to be used in the signature.org.bouncycastle.asn1.pkcs.RSASSAPSSparams
Gets actual org.bouncycastle object being wrapped.Return the salt length parameter.Return the trailer field parameter.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
-
RSASSAPSSParamsBC
public RSASSAPSSParamsBC(org.bouncycastle.asn1.pkcs.RSASSAPSSparams params) Creates new wrapper instance forRSASSAPSSparams
.- Parameters:
-
params
-RSASSAPSSparams
to be wrapped
-
-
Method Details
-
getRSASSAPSSparams
public org.bouncycastle.asn1.pkcs.RSASSAPSSparams getRSASSAPSSparams()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
RSASSAPSSparams
.
-
getHashAlgorithm
Return theIAlgorithmIdentifier
describing the digest algorithm to be used in the signature.- Specified by:
-
getHashAlgorithm
in interfaceIRSASSAPSSParams
- Returns:
-
an
IAlgorithmIdentifier
-
getMaskGenAlgorithm
Return theIAlgorithmIdentifier
describing the mask generation function to be used in the signature.- Specified by:
-
getMaskGenAlgorithm
in interfaceIRSASSAPSSParams
- Returns:
-
an
IAlgorithmIdentifier
-
getSaltLength
Return the salt length parameter. This is aBigInteger
for API consistency reasons, but typical values will be small.- Specified by:
-
getSaltLength
in interfaceIRSASSAPSSParams
- Returns:
- the salt length parameter
-
getTrailerField
Return the trailer field parameter. This is aBigInteger
for API consistency reasons, but typical values will be small.- Specified by:
-
getTrailerField
in interfaceIRSASSAPSSParams
- Returns:
- the trailer field parameter
-