Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
GPGME
Constants
VERSION = "0.1.0"
Class methods
decrypt
(ciphertext :
String
|
Bytes
) :
String
Source
encrypt
(plaintext :
String
|
Bytes
, recipients :
Array
(
String
), armor :
Bool
= true) :
String
Source
private_keys
(pattern :
String
|
Nil
= nil) :
Array
(
Key
)
Source
public_keys
(pattern :
String
|
Nil
= nil) :
Array
(
Key
)
Convenience class methods for simple operations
Source
sign
(plaintext :
String
|
Bytes
, mode :
LibGPGME::SigMode
=
LibGPGME::SigMode::Clear
, armor :
Bool
= true) :
String
Source
verify
(signature :
String
|
Bytes
, signed_text :
String
|
Bytes
|
Nil
= nil) :
Bool
Source
Nested types
GPGME::Context
GPGME::Error
GPGME::Key
GPGME::SubKey
GPGME::UserID