new RSASSAPSSParams()
The parameters for RSASSA-PSS algorithm
Extends
Methods
-
<static> create()
-
Initialize RSASSA-PSS parameters with default values specified in RFC 4055.
Returns:
A promise that resolves to an object of type: "PDFNet.RSASSAPSSParams"- Type
- Promise.<Core.PDFNet.RSASSAPSSParams>
-
<static> createFromAlgoIdAndSaltLen(digest_algorithm_id, salt_length)
-
Initialize RSASSA-PSS parameters with MGF1 for a given digest algorithm and salt length.
Parameters:
Name Type Description digest_algorithm_id
Core.PDFNet.AlgorithmIdentifier The digest algorithm. salt_length
number The salt length. Returns:
A promise that resolves to an object of type: "PDFNet.RSASSAPSSParams"- Type
- Promise.<Core.PDFNet.RSASSAPSSParams>
-
destroy()
-
Destructor
- Inherited From:
Returns:
- Type
- Promise.<void>
-
getDigestAlgorithm()
-
Get the digest algorithm parameter value.
Returns:
A promise that resolves to the digest algorithm.- Type
- Promise.<Core.PDFNet.AlgorithmIdentifier>
-
getMaskGenAlgorithm()
-
Get the mask generation function parameter value.
Returns:
A promise that resolves to the mask generation function.- Type
- Promise.<Core.PDFNet.AlgorithmIdentifier>
-
getSaltLength()
-
Get the salt length parameter value.
Returns:
A promise that resolves to the salt length.- Type
- Promise.<number>
-
getTrailerField()
-
Get the trailer field parameter value.
Returns:
A promise that resolves to the trailer field.- Type
- Promise.<number>
-
setDigestAlgorithm(value)
-
Set the digest algorithm parameter value.
Parameters:
Name Type Description value
Core.PDFNet.AlgorithmIdentifier The digest algorithm. Returns:
- Type
- Promise.<void>
-
setMaskGenAlgorithm(value)
-
Set the mask generation function parameter value.
Parameters:
Name Type Description value
Core.PDFNet.AlgorithmIdentifier The mask generation function. Returns:
- Type
- Promise.<void>
-
setSaltLength(value)
-
Set the salt length parameter value.
Parameters:
Name Type Description value
number The salt length. Returns:
- Type
- Promise.<void>
-
setTrailerField(value)
-
Set the trailer field parameter value.
Parameters:
Name Type Description value
number The trailer field. Returns:
- Type
- Promise.<void>
-
takeOwnership()
-
Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
- Inherited From:
Returns:
- Type
- void