Class RSASSAPSSParamsBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.pcks.RSASSAPSSParamsBC
-
- All Implemented Interfaces:
IASN1Encodable
,IRSASSAPSSParams
public class RSASSAPSSParamsBC extends ASN1EncodableBC implements IRSASSAPSSParams
BC wrapper implementation forIRSASSAPSSParams
.
-
-
Constructor Summary
Constructors Constructor Description RSASSAPSSParamsBC(org.bouncycastle.asn1.pkcs.RSASSAPSSparams params)
Creates new wrapper instance forRSASSAPSSparams
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAlgorithmIdentifier
getHashAlgorithm()
Return theIAlgorithmIdentifier
describing the digest algorithm to be used in the signature.IAlgorithmIdentifier
getMaskGenAlgorithm()
Return theIAlgorithmIdentifier
describing the mask generation function to be used in the signature.org.bouncycastle.asn1.pkcs.RSASSAPSSparams
getRSASSAPSSparams()
Gets actual org.bouncycastle object being wrapped.java.math.BigInteger
getSaltLength()
Return the salt length parameter.java.math.BigInteger
getTrailerField()
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
-
-
-
-
Method Detail
-
getRSASSAPSSparams
public org.bouncycastle.asn1.pkcs.RSASSAPSSparams getRSASSAPSSparams()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
RSASSAPSSparams
.
-
getHashAlgorithm
public IAlgorithmIdentifier getHashAlgorithm()
Return theIAlgorithmIdentifier
describing the digest algorithm to be used in the signature.- Specified by:
getHashAlgorithm
in interfaceIRSASSAPSSParams
- Returns:
- an
IAlgorithmIdentifier
-
getMaskGenAlgorithm
public IAlgorithmIdentifier getMaskGenAlgorithm()
Return theIAlgorithmIdentifier
describing the mask generation function to be used in the signature.- Specified by:
getMaskGenAlgorithm
in interfaceIRSASSAPSSParams
- Returns:
- an
IAlgorithmIdentifier
-
getSaltLength
public java.math.BigInteger 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
public java.math.BigInteger 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
-
-