Package sop
Interface SOP
-
public interface SOP
Stateless OpenPGP Interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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.DetachedSign
detachedSign()
Create detached signatures.DetachedVerify
detachedVerify()
Verify detached signatures.Encrypt
encrypt()
Encrypt a message.ExtractCert
extractCert()
Extract a certificate (public key) from a secret key.GenerateKey
generateKey()
Generate a secret key.InlineDetach
inlineDetach()
Detach signatures from an inline signed message.InlineSign
inlineSign()
Sign a message using inline signatures.InlineVerify
inlineVerify()
Verify signatures of an inline-signed message.default DetachedSign
sign()
Create detached signatures.default DetachedVerify
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
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
-
-