iText 9.0.0 API
|
Interface that needs to be implemented to do the actual signing. More...
Public Member Functions |
|
String | GetDigestAlgorithmName () |
Returns the digest algorithm. More... |
|
String | GetSignatureAlgorithmName () |
Returns the signature algorithm used for signing, disregarding the digest function. More... |
|
ISignatureMechanismParams | GetSignatureMechanismParameters () |
Return the algorithm parameters that need to be encoded together with the signature mechanism identifier. More... |
|
byte[] | Sign (byte[] message) |
Signs the given message using the encryption algorithm in combination with the hash algorithm. More... |
|
Interface that needs to be implemented to do the actual signing.
Interface that needs to be implemented to do the actual signing. For instance: you'll have to implement this interface if you want to sign a PDF using a smart card.
String iText.Signatures.IExternalSignature.GetDigestAlgorithmName | ( | ) |
Returns the digest algorithm.
Implemented in iText.Signatures.PrivateKeySignature, and iText.Signatures.AsymmetricAlgorithmSignature.
String iText.Signatures.IExternalSignature.GetSignatureAlgorithmName | ( | ) |
Returns the signature algorithm used for signing, disregarding the digest function.
Implemented in iText.Signatures.PrivateKeySignature, and iText.Signatures.AsymmetricAlgorithmSignature.
ISignatureMechanismParams iText.Signatures.IExternalSignature.GetSignatureMechanismParameters | ( | ) |
Return the algorithm parameters that need to be encoded together with the signature mechanism identifier.
Return the algorithm parameters that need to be encoded together with the signature mechanism identifier. If there are no parameters, return null
. A non-null value is required for RSASSA-PSS; see RSASSAPSSMechanismParams.
Implemented in iText.Signatures.PrivateKeySignature, and iText.Signatures.AsymmetricAlgorithmSignature.
byte [] iText.Signatures.IExternalSignature.Sign | ( | byte[] | message | ) |
Signs the given message using the encryption algorithm in combination with the hash algorithm.
message | The message you want to be hashed and signed. |
Implemented in iText.Signatures.PrivateKeySignature, and iText.Signatures.AsymmetricAlgorithmSignature.