Crypto..::..Cipher Method (String, String, String)
Cipher the text using a certificate
Namespace:
Walter.CypherAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
Parameters
- clearText
- Type: String
the text to cypher
- certificateFile
- Type: String
the certificate file to use
- certificatePassword
- Type: String
the password for the certificate
Return Value
base 64 encoded textExceptions
Exception | Condition |
---|---|
FileNotFoundException | Thrown if the file is not found |
CryptographicException | Thrown if the file was bad or the password was bad |
ArgumentNullException | Thrown if any parameter is not provided |