Package sop
Interface SOP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Armor
armor()
Convert binary OpenPGP data to ASCII.Dearmor
dearmor()
Converts ASCII armored OpenPGP data to binary.Decrypt
decrypt()
Decrypt a message.DetachInbandSignatureAndMessage
detachInbandSignatureAndMessage()
Encrypt
encrypt()
Encrypt a message.ExtractCert
extractCert()
Extract a certificate (public key) from a secret key.GenerateKey
generateKey()
Generate a secret key.Sign
sign()
Create detached signatures.Verify
verify()
Verify detached signatures.Version
version()
Get information about the implementations name and version.
-
-
-
Method Detail
-
version
Version version()
Get information about the implementations name and version.- Returns:
- version
-
generateKey
GenerateKey generateKey()
Generate a secret key. Customize the operation using the builderGenerateKey
.- Returns:
- builder instance
-
extractCert
ExtractCert extractCert()
Extract a certificate (public key) from a secret key. Customize the operation using the builderExtractCert
.- Returns:
- builder instance
-
sign
Sign sign()
Create detached signatures. Customize the operation using the builderSign
.- Returns:
- builder instance
-
verify
Verify verify()
Verify detached signatures. Customize the operation using the builderVerify
.- Returns:
- builder instance
-
encrypt
Encrypt encrypt()
Encrypt a message. Customize the operation using the builderEncrypt
.- Returns:
- builder instance
-
decrypt
Decrypt decrypt()
Decrypt a message. Customize the operation using the builderDecrypt
.- Returns:
- builder instance
-
armor
Armor armor()
Convert binary OpenPGP data to ASCII. Customize the operation using the builderArmor
.- Returns:
- builder instance
-
dearmor
Dearmor dearmor()
Converts ASCII armored OpenPGP data to binary. Customize the operation using the builderDearmor
.- Returns:
- builder instance
-
detachInbandSignatureAndMessage
DetachInbandSignatureAndMessage detachInbandSignatureAndMessage()
-
-