Cypher for .net

PGPManaged Methods

The PGPManaged type exposes the following members.

Methods


  Name Description
Public method Static member Decrypt(String, KeyRing)
Decrypts the specified cyphered text.
Public method Decrypt(String, String)
Decrypts the specified encrypted text that was encrypted using a public key.
Public method Static member Encrypt(String, KeyRing)
Encrypts text
Public method Encrypt(String, String)
Encrypts the specified plain text.
Public method GenerateKeys
Generates a new set of keys.
Public method Sign(String, String)
Signs the specified plain text.
Public method Static member TryDecrypt(String, KeyRing, Nullable<(Of <<'(String>)>>)%)
Tries to decrypts the specified cyphered text.
Public method TryDecrypt(String, String, String%)
Try and decrypt the specified encrypted text using the provided private key, Return false if fails
Public method TryDecrypt(String, Boolean, array<String>[]()[][])
Attempts to decrypt a message using a set of private key
Public method Validate
Validates the specified key ring is safe to use.
Public method VerifySignature(String, String, String)
Verifies the signature that is supposed to match the plain text.