PublicKeyCrypto Class
Properties Methods Events Configuration Settings Errors
The PublicKeyCrypto class supports encrypting, decrypting, signing and verifying messages.
Syntax
secureblackboxlite.Publickeycrypto
Remarks
PublicKeyCrypto allows you to encrypt, decrypt, sign and verify messages.
Property List
The following is the full list of the properties of the class with short descriptions. Click on the links for further details.
CanEncrypt | Returns true if the crypto object can be used for encryption. |
CanSign | Returns true if the crypto object is capable of data signing. |
HashAlgorithm | The hash algorithm to be used during the crypto operation. |
InputEncoding | The encoding to apply to the input data. |
InputIsHash | Indicates whether the input data contains the hash or the actual data. |
JsonDetails | Provides a container for JSON settings. |
Key | The key to employ for the crypto operation. |
OutputEncoding | The encoding type to apply to the output data. |
Scheme | The algorithm scheme to use. |
SchemeParams | The algorithm scheme parameters to employ. |
SignatureValidationResult | The signature validation result. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
Config | Sets or retrieves a configuration setting. |
Decrypt | Decrypts a buffer. |
DecryptFile | Decrypts a file. |
DecryptStream | Decrypts a stream. |
Encrypt | Encrypts a buffer. |
EncryptFile | Encrypts a file. |
EncryptStream | Encrypts a stream. |
Sign | Signs a buffer. |
SignFile | Signs a file. |
SignStream | Signs a stream. |
Verify | Verifies an enveloped or enveloping signature contained in a buffer. |
VerifyDetached | Verifies a detached signature. |
VerifyDetachedFile | Verifies a detached signature. |
VerifyDetachedStream | Verifies a detached signature. |
VerifyFile | Verifies an enveloped or enveloping signature contained in a file. |
VerifyStream | Verifies an enveloping or enveloped signature contained in a stream. |
Event List
The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.
Error | Reports error information during a crypto operation. |
Notification | This event notifies the application about an underlying control flow event. |
Configuration Settings
The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.
TempPath | Path for storing temporary files. |