Uses of Class
org.pgpainless.encryption_signing.SigningOptions
-
Packages that use SigningOptions Package Description org.pgpainless.encryption_signing Classes used to encrypt or sign data using OpenPGP. -
-
Uses of SigningOptions in org.pgpainless.encryption_signing
Methods in org.pgpainless.encryption_signing that return SigningOptions Modifier and Type Method Description SigningOptions
SigningOptions. addDetachedSignature(SecretKeyRingProtector secretKeyDecryptor, org.bouncycastle.openpgp.PGPSecretKeyRing secretKey, String userId, DocumentSignatureType signatureType)
Create a detached signature.SigningOptions
SigningOptions. addDetachedSignature(SecretKeyRingProtector secretKeyDecryptor, org.bouncycastle.openpgp.PGPSecretKeyRing secretKey, String userId, DocumentSignatureType signatureType, BaseSignatureSubpackets.Callback subpacketCallback)
Create a detached signature.SigningOptions
SigningOptions. addDetachedSignature(SecretKeyRingProtector secretKeyDecryptor, org.bouncycastle.openpgp.PGPSecretKeyRing secretKey, DocumentSignatureType signatureType)
Create a detached signature.SigningOptions
SigningOptions. addDetachedSignatures(SecretKeyRingProtector secretKeyDecryptor, Iterable<org.bouncycastle.openpgp.PGPSecretKeyRing> signingKeys, DocumentSignatureType signatureType)
Add detached signatures with all key rings from the provided secret key ring collection.SigningOptions
SigningOptions. addInlineSignature(SecretKeyRingProtector secretKeyDecryptor, org.bouncycastle.openpgp.PGPSecretKeyRing secretKey, String userId, DocumentSignatureType signatureType)
Add an inline-signature.SigningOptions
SigningOptions. addInlineSignature(SecretKeyRingProtector secretKeyDecryptor, org.bouncycastle.openpgp.PGPSecretKeyRing secretKey, String userId, DocumentSignatureType signatureType, BaseSignatureSubpackets.Callback subpacketsCallback)
Add an inline-signature.SigningOptions
SigningOptions. addInlineSignature(SecretKeyRingProtector secretKeyDecryptor, org.bouncycastle.openpgp.PGPSecretKeyRing secretKey, DocumentSignatureType signatureType)
Add an inline-signature.SigningOptions
SigningOptions. addInlineSignatures(SecretKeyRingProtector secrectKeyDecryptor, Iterable<org.bouncycastle.openpgp.PGPSecretKeyRing> signingKeys, DocumentSignatureType signatureType)
Add inline signatures with all secret key rings in the provided secret key ring collection.static SigningOptions
SigningOptions. get()
SigningOptions
ProducerOptions. getSigningOptions()
SigningOptions
SigningOptions. overrideHashAlgorithm(HashAlgorithm hashAlgorithmOverride)
Override hash algorithm negotiation by dictating which hash algorithm needs to be used.Methods in org.pgpainless.encryption_signing with parameters of type SigningOptions Modifier and Type Method Description static ProducerOptions
ProducerOptions. sign(SigningOptions signingOptions)
Sign some data without encryption.static ProducerOptions
ProducerOptions. signAndEncrypt(EncryptionOptions encryptionOptions, SigningOptions signingOptions)
Sign and encrypt some data.
-