|
iText 8.0.5 API
|
This interface represents the wrapper for ISigner that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...
Public Member Functions |
|
| void | InitVerify (IPublicKey publicKey) |
Calls actual InitVerify method for the wrapped ISigner object. More... |
|
| void | InitSign (IPrivateKey key) |
Calls actual InitVerify method for the wrapped ISigner object. More... |
|
| void | InitRsaPssSigner (string digestAlgoName, int saltLen, int trailerField) |
| Creates actual signer object to create RSASSA-PSS signature More... |
|
| void | Update (byte[] buf, int off, int len) |
Calls actual Update method for the wrapped ISigner object. More... |
|
| void | Update (byte[] digest) |
Calls actual Update method for the wrapped ISigner object. More... |
|
| bool | VerifySignature (byte[] digest) |
Calls actual VerifySignature method for the wrapped ISigner object. More... |
|
| byte[] | GenerateSignature () |
Calls actual GenerateSignature method for the wrapped ISigner object. More... |
|
| void | UpdateVerifier (byte[] digest) |
Calls actual UpdateVerifier method for the wrapped ISigner object. More... |
|
| void | SetDigestAlgorithm (string algorithm) |
| Sets hash and encryption algorithms for the wrapped ISigner object. More... |
|
This interface represents the wrapper for ISigner that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
| byte [] iText.Commons.Bouncycastle.Crypto.ISigner.GenerateSignature | ( | ) |
Calls actual GenerateSignature method for the wrapped ISigner object.
Implemented in iText.Bouncycastle.Crypto.SignerBC, and iText.Bouncycastlefips.Crypto.SignerBCFips.
| void iText.Commons.Bouncycastle.Crypto.ISigner.InitRsaPssSigner | ( | string | digestAlgoName, |
| int | saltLen, | ||
| int | trailerField | ||
| ) |
Creates actual signer object to create RSASSA-PSS signature
| digestAlgoName | digect algorithm |
| saltLen | salt length |
| trailerField | trailer field |
Implemented in iText.Bouncycastlefips.Crypto.SignerBCFips, and iText.Bouncycastle.Crypto.SignerBC.
| void iText.Commons.Bouncycastle.Crypto.ISigner.InitSign | ( | IPrivateKey | key | ) |
Calls actual InitVerify method for the wrapped ISigner object.
| publicKey | public key |
Implemented in iText.Bouncycastlefips.Crypto.SignerBCFips, and iText.Bouncycastle.Crypto.SignerBC.
| void iText.Commons.Bouncycastle.Crypto.ISigner.InitVerify | ( | IPublicKey | publicKey | ) |
Calls actual InitVerify method for the wrapped ISigner object.
| publicKey | public key |
Implemented in iText.Bouncycastlefips.Crypto.SignerBCFips, and iText.Bouncycastle.Crypto.SignerBC.
| void iText.Commons.Bouncycastle.Crypto.ISigner.SetDigestAlgorithm | ( | string | algorithm | ) |
Sets hash and encryption algorithms for the wrapped ISigner object.
| algorithm | digest algorithm |
Implemented in iText.Bouncycastlefips.Crypto.SignerBCFips, and iText.Bouncycastle.Crypto.SignerBC.
| void iText.Commons.Bouncycastle.Crypto.ISigner.Update | ( | byte[] | buf, |
| int | off, | ||
| int | len | ||
| ) |
Calls actual Update method for the wrapped ISigner object.
| buf | byte array buffer |
| off | offset |
| len | buffer length |
Implemented in iText.Bouncycastle.Crypto.SignerBC, and iText.Bouncycastlefips.Crypto.SignerBCFips.
| void iText.Commons.Bouncycastle.Crypto.ISigner.Update | ( | byte[] | digest | ) |
Calls actual Update method for the wrapped ISigner object.
| buf | byte array buffer |
Implemented in iText.Bouncycastle.Crypto.SignerBC, and iText.Bouncycastlefips.Crypto.SignerBCFips.
| void iText.Commons.Bouncycastle.Crypto.ISigner.UpdateVerifier | ( | byte[] | digest | ) |
Calls actual UpdateVerifier method for the wrapped ISigner object.
| digest | byte array |
Implemented in iText.Bouncycastle.Crypto.SignerBC, and iText.Bouncycastlefips.Crypto.SignerBCFips.
| bool iText.Commons.Bouncycastle.Crypto.ISigner.VerifySignature | ( | byte[] | digest | ) |
Calls actual VerifySignature method for the wrapped ISigner object.
| digest | byte array |
Implemented in iText.Bouncycastle.Crypto.SignerBC, and iText.Bouncycastlefips.Crypto.SignerBCFips.