BytesExtension..::..AsDecryptFromBytes Method (array<Byte>[]()[][], X509Certificate2)
decrypt using a password and protection level that was previously encrypted using extension method AsEncryptedBytes(String)
Namespace:
System.TextAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
[FeatureTagsAttribute] [NotNullAttribute] public static byte[] AsDecryptFromBytes( this byte[] cypherBytes, X509Certificate2 certificate )
Parameters
- cypherBytes
- Type: array<Byte>[]()[][]
cypherBytes text to decrypt
- certificate
- Type: X509Certificate2
the certificate2 to use