Package sop
Interface SOP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Armorarmor()Convert binary OpenPGP data to ASCII.Dearmordearmor()Converts ASCII armored OpenPGP data to binary.Decryptdecrypt()Decrypt a message.DetachInbandSignatureAndMessagedetachInbandSignatureAndMessage()Encryptencrypt()Encrypt a message.ExtractCertextractCert()Extract a certificate (public key) from a secret key.GenerateKeygenerateKey()Generate a secret key.Signsign()Create detached signatures.Verifyverify()Verify detached signatures.Versionversion()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()
-
-