Package sop
Interface SOP
-
public interface SOPStateless OpenPGP Interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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.DetachedSigndetachedSign()Create detached signatures.DetachedVerifydetachedVerify()Verify detached signatures.Encryptencrypt()Encrypt a message.ExtractCertextractCert()Extract a certificate (public key) from a secret key.GenerateKeygenerateKey()Generate a secret key.InlineDetachinlineDetach()Detach signatures from an inline signed message.InlineSigninlineSign()Sign a message using inline signatures.InlineVerifyinlineVerify()Verify signatures of an inline-signed message.default DetachedSignsign()Create detached signatures.default DetachedVerifyverify()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
default DetachedSign sign()
Create detached signatures. Customize the operation using the builderDetachedSign. If you want to sign a message inline, useinlineSign()instead.- Returns:
- builder instance
-
detachedSign
DetachedSign detachedSign()
Create detached signatures. Customize the operation using the builderDetachedSign. If you want to sign a message inline, useinlineSign()instead.- Returns:
- builder instance
-
inlineSign
InlineSign inlineSign()
Sign a message using inline signatures. If you need to create detached signatures, usedetachedSign()instead.- Returns:
- builder instance
-
verify
default DetachedVerify verify()
Verify detached signatures. Customize the operation using the builderDetachedVerify. If you need to verify an inline-signed message, useinlineVerify()instead.- Returns:
- builder instance
-
detachedVerify
DetachedVerify detachedVerify()
Verify detached signatures. Customize the operation using the builderDetachedVerify. If you need to verify an inline-signed message, useinlineVerify()instead.- Returns:
- builder instance
-
inlineVerify
InlineVerify inlineVerify()
Verify signatures of an inline-signed message. If you need to verify detached signatures over a message, usedetachedVerify()instead.- Returns:
- builder instance
-
inlineDetach
InlineDetach inlineDetach()
Detach signatures from an inline signed message.- 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
-
-