A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AmbiguousInput(String) - Constructor for exception sop.exception.SOPGPException.AmbiguousInput
- armor() - Method in interface sop.SOP
-
Convert binary OpenPGP data to ASCII.
- Armor - Interface in sop.operation
- ArmorLabel - Enum in sop.enums
- Auto - sop.enums.ArmorLabel
B
- BadData(String) - Constructor for exception sop.exception.SOPGPException.BadData
- BadData(String, Throwable) - Constructor for exception sop.exception.SOPGPException.BadData
- BadData(Throwable) - Constructor for exception sop.exception.SOPGPException.BadData
- Binary - sop.enums.EncryptAs
- Binary - sop.enums.SignAs
- build() - Method in class sop.SigningResult.Builder
- builder() - Static method in class sop.SigningResult
- Builder() - Constructor for class sop.SigningResult.Builder
- ByteArrayAndResult<T> - Class in sop
-
Tuple of a byte array and associated result object.
- ByteArrayAndResult(byte[], T) - Constructor for class sop.ByteArrayAndResult
- bytesToHex(byte[]) - Static method in class sop.util.HexUtil
-
Encode a byte array to a hex string.
C
- CannotDecrypt() - Constructor for exception sop.exception.SOPGPException.CannotDecrypt
- cert(byte[]) - Method in interface sop.operation.Verify
-
Add one or more verification cert.
- cert(InputStream) - Method in interface sop.operation.Verify
-
Add one or more verification cert.
- Cert - sop.enums.ArmorLabel
- CertCannotEncrypt(String, Throwable) - Constructor for exception sop.exception.SOPGPException.CertCannotEncrypt
- ciphertext(byte[]) - Method in interface sop.operation.Decrypt
-
Decrypts the given ciphertext, returning verification results and plaintext.
- ciphertext(InputStream) - Method in interface sop.operation.Decrypt
-
Decrypts the given ciphertext, returning verification results and plaintext.
- close() - Method in class sop.util.ProxyOutputStream
D
- data(byte[]) - Method in interface sop.operation.Armor
-
Armor the provided data.
- data(byte[]) - Method in interface sop.operation.Dearmor
-
Dearmor armored OpenPGP data.
- data(byte[]) - Method in interface sop.operation.Sign
-
Signs data.
- data(byte[]) - Method in interface sop.operation.VerifySignatures
-
Provide the signed data (without signatures).
- data(InputStream) - Method in interface sop.operation.Armor
-
Armor the provided data.
- data(InputStream) - Method in interface sop.operation.Dearmor
-
Dearmor armored OpenPGP data.
- data(InputStream) - Method in interface sop.operation.Sign
-
Signs data.
- data(InputStream) - Method in interface sop.operation.VerifySignatures
-
Provide the signed data (without signatures).
- dearmor() - Method in interface sop.SOP
-
Converts ASCII armored OpenPGP data to binary.
- Dearmor - Interface in sop.operation
- decodeUTF8(byte[]) - Static method in class sop.util.UTF8Util
-
Detect non-valid UTF8 data.
- decrypt() - Method in interface sop.SOP
-
Decrypt a message.
- Decrypt - Interface in sop.operation
- DecryptionResult - Class in sop
- DecryptionResult(SessionKey, List<Verification>) - Constructor for class sop.DecryptionResult
- detachInbandSignatureAndMessage() - Method in interface sop.SOP
- DetachInbandSignatureAndMessage - Interface in sop.operation
-
Split cleartext signed messages up into data and signatures.
E
- empty() - Static method in class sop.MicAlg
- encrypt() - Method in interface sop.SOP
-
Encrypt a message.
- Encrypt - Interface in sop.operation
- EncryptAs - Enum in sop.enums
- equals(Object) - Method in class sop.SessionKey
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.AmbiguousInput
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.BadData
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.CannotDecrypt
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.CertCannotEncrypt
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.ExpectedText
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.IncompleteVerification
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.KeyCannotSign
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.KeyIsProtected
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.MissingArg
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.MissingInput
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.NoSignature
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.OutputExists
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.PasswordNotHumanReadable
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.UnsupportedAsymmetricAlgo
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.UnsupportedOption
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.UnsupportedSpecialPrefix
- EXIT_CODE - Static variable in exception sop.exception.SOPGPException.UnsupportedSubcommand
- ExpectedText() - Constructor for exception sop.exception.SOPGPException.ExpectedText
- extractCert() - Method in interface sop.SOP
-
Extract a certificate (public key) from a secret key.
- ExtractCert - Interface in sop.operation
F
- flush() - Method in class sop.util.ProxyOutputStream
- formatUTCDate(Date) - Static method in class sop.util.UTCUtil
-
Format a date as ISO-8601 UTC timestamp.
- fromHashAlgorithmId(int) - Static method in class sop.MicAlg
- fromString(String) - Static method in class sop.SessionKey
G
- generate() - Method in interface sop.operation.GenerateKey
-
Generate the OpenPGP key and return it encoded as an
InputStream
. - generateKey() - Method in interface sop.SOP
-
Generate a secret key.
- GenerateKey - Interface in sop.operation
- get() - Method in class sop.util.Optional
- getAlgorithm() - Method in class sop.SessionKey
-
Return the symmetric algorithm octet.
- getBackendVersion() - Method in interface sop.operation.Version
-
Return version information about the used OpenPGP backend.
- getBytes() - Method in class sop.ByteArrayAndResult
-
Return the byte array part.
- getBytes() - Method in class sop.Ready
-
Return the data as a byte array by writing it to a
ByteArrayOutputStream
first and then returning the array. - getCreationTime() - Method in class sop.Verification
-
Return the signatures' creation time.
- getExitCode() - Method in exception sop.exception.SOPGPException.AmbiguousInput
- getExitCode() - Method in exception sop.exception.SOPGPException.BadData
- getExitCode() - Method in exception sop.exception.SOPGPException.CannotDecrypt
- getExitCode() - Method in exception sop.exception.SOPGPException.CertCannotEncrypt
- getExitCode() - Method in exception sop.exception.SOPGPException.ExpectedText
- getExitCode() - Method in exception sop.exception.SOPGPException
- getExitCode() - Method in exception sop.exception.SOPGPException.IncompleteVerification
- getExitCode() - Method in exception sop.exception.SOPGPException.KeyCannotSign
- getExitCode() - Method in exception sop.exception.SOPGPException.KeyIsProtected
- getExitCode() - Method in exception sop.exception.SOPGPException.MissingArg
- getExitCode() - Method in exception sop.exception.SOPGPException.MissingInput
- getExitCode() - Method in exception sop.exception.SOPGPException.NoSignature
- getExitCode() - Method in exception sop.exception.SOPGPException.OutputExists
- getExitCode() - Method in exception sop.exception.SOPGPException.PasswordNotHumanReadable
- getExitCode() - Method in exception sop.exception.SOPGPException.UnsupportedAsymmetricAlgo
- getExitCode() - Method in exception sop.exception.SOPGPException.UnsupportedOption
- getExitCode() - Method in exception sop.exception.SOPGPException.UnsupportedSpecialPrefix
- getExitCode() - Method in exception sop.exception.SOPGPException.UnsupportedSubcommand
- getExtendedVersion() - Method in interface sop.operation.Version
-
Return an extended version string containing multiple lines of version information.
- getInputStream() - Method in class sop.ByteArrayAndResult
-
Return the byte array part as an
InputStream
. - getInputStream() - Method in class sop.Ready
-
Return an input stream containing the data.
- getKey() - Method in class sop.SessionKey
-
Return the session key.
- getMicAlg() - Method in class sop.MicAlg
- getMicAlg() - Method in class sop.SigningResult
-
Return a string identifying the digest mechanism used to create the signed message.
- getName() - Method in interface sop.operation.Version
-
Return the implementations name.
- getResult() - Method in class sop.ByteArrayAndResult
-
Return the result part.
- getSessionKey() - Method in class sop.DecryptionResult
- getSigningCertFingerprint() - Method in class sop.Verification
-
Return the fingerprint fo the signing certificate.
- getSigningKeyFingerprint() - Method in class sop.Verification
-
Return the fingerprint of the signing (sub)key.
- getVerifications() - Method in class sop.DecryptionResult
- getVersion() - Method in interface sop.operation.Version
-
Return the implementations short version string.
H
- hashCode() - Method in class sop.SessionKey
- hexToBytes(String) - Static method in class sop.util.HexUtil
-
Decode a hex string into a byte array.
- HexUtil - Class in sop.util
- HexUtil() - Constructor for class sop.util.HexUtil
I
- IncompleteVerification(String) - Constructor for exception sop.exception.SOPGPException.IncompleteVerification
- isEmpty() - Method in class sop.util.Optional
- isPresent() - Method in class sop.util.Optional
K
- key(byte[]) - Method in interface sop.operation.ExtractCert
-
Extract the cert(s) from the provided key(s).
- key(byte[]) - Method in interface sop.operation.Sign
-
Add one or more signing keys.
- key(InputStream) - Method in interface sop.operation.ExtractCert
-
Extract the cert(s) from the provided key(s).
- key(InputStream) - Method in interface sop.operation.Sign
-
Add one or more signing keys.
- Key - sop.enums.ArmorLabel
- KeyCannotSign() - Constructor for exception sop.exception.SOPGPException.KeyCannotSign
- KeyCannotSign(String, SOPGPException.KeyCannotSign) - Constructor for exception sop.exception.SOPGPException.KeyCannotSign
- KeyIsProtected() - Constructor for exception sop.exception.SOPGPException.KeyIsProtected
- KeyIsProtected(String, Throwable) - Constructor for exception sop.exception.SOPGPException.KeyIsProtected
L
- label(ArmorLabel) - Method in interface sop.operation.Armor
-
Overrides automatic detection of label.
M
- message(byte[]) - Method in interface sop.operation.DetachInbandSignatureAndMessage
-
Detach the provided cleartext signed message from its signatures.
- message(InputStream) - Method in interface sop.operation.DetachInbandSignatureAndMessage
-
Detach the provided cleartext signed message from its signatures.
- Message - sop.enums.ArmorLabel
- MicAlg - Class in sop
- MicAlg(String) - Constructor for class sop.MicAlg
- MIME - sop.enums.EncryptAs
- MissingArg(String) - Constructor for exception sop.exception.SOPGPException.MissingArg
- MissingInput(String, Throwable) - Constructor for exception sop.exception.SOPGPException.MissingInput
- mode(EncryptAs) - Method in interface sop.operation.Encrypt
-
Sets encryption mode.
- mode(SignAs) - Method in interface sop.operation.Sign
-
Sets the signature mode.
N
- noArmor() - Method in interface sop.operation.DetachInbandSignatureAndMessage
-
Do not wrap the signatures in ASCII armor.
- noArmor() - Method in interface sop.operation.Encrypt
-
Disable ASCII armor encoding.
- noArmor() - Method in interface sop.operation.ExtractCert
-
Disable ASCII armor encoding.
- noArmor() - Method in interface sop.operation.GenerateKey
-
Disable ASCII armor encoding.
- noArmor() - Method in interface sop.operation.Sign
-
Disable ASCII armor encoding.
- NoSignature() - Constructor for exception sop.exception.SOPGPException.NoSignature
- notAfter(Date) - Method in interface sop.operation.Verify
-
Makes the SOP implementation consider signatures after this date invalid.
- notBefore(Date) - Method in interface sop.operation.Verify
-
Makes the SOP implementation consider signatures before this date invalid.
O
- of(T) - Static method in class sop.util.Optional
- ofEmpty() - Static method in class sop.util.Optional
- ofNullable(T) - Static method in class sop.util.Optional
- Optional<T> - Class in sop.util
-
Backport of java.util.Optional for older Android versions.
- Optional() - Constructor for class sop.util.Optional
- Optional(T) - Constructor for class sop.util.Optional
- OutputExists(String) - Constructor for exception sop.exception.SOPGPException.OutputExists
P
- parseUTCDate(String) - Static method in class sop.util.UTCUtil
-
Parse an ISO-8601 UTC timestamp from a string.
- PasswordNotHumanReadable() - Constructor for exception sop.exception.SOPGPException.PasswordNotHumanReadable
- plaintext(byte[]) - Method in interface sop.operation.Encrypt
-
Encrypt the given data yielding the ciphertext.
- plaintext(InputStream) - Method in interface sop.operation.Encrypt
-
Encrypt the given data yielding the ciphertext.
- ProxyOutputStream - Class in sop.util
-
OutputStream
that buffers data being written into it, until its underlying output stream is being replaced. - ProxyOutputStream() - Constructor for class sop.util.ProxyOutputStream
R
- Ready - Class in sop
- Ready() - Constructor for class sop.Ready
- ReadyWithResult<T> - Class in sop
- ReadyWithResult() - Constructor for class sop.ReadyWithResult
- replaceOutputStream(OutputStream) - Method in class sop.util.ProxyOutputStream
S
- SessionKey - Class in sop
- SessionKey(byte, byte[]) - Constructor for class sop.SessionKey
- setMicAlg(MicAlg) - Method in class sop.SigningResult.Builder
- Sig - sop.enums.ArmorLabel
- sign() - Method in interface sop.SOP
-
Create detached signatures.
- Sign - Interface in sop.operation
- SignAs - Enum in sop.enums
- signatures(byte[]) - Method in interface sop.operation.Verify
-
Provides the signatures.
- signatures(InputStream) - Method in interface sop.operation.Verify
-
Provides the signatures.
- Signatures - Class in sop
- Signatures() - Constructor for class sop.Signatures
- SigningResult - Class in sop
-
This class contains various information about a signed message.
- SigningResult.Builder - Class in sop
- signWith(byte[]) - Method in interface sop.operation.Encrypt
-
Adds the signer key.
- signWith(InputStream) - Method in interface sop.operation.Encrypt
-
Adds the signer key.
- sop - package sop
-
Stateless OpenPGP Interface for Java.
- SOP - Interface in sop
-
Stateless OpenPGP Interface.
- sop.enums - package sop.enums
-
Stateless OpenPGP Interface for Java.
- sop.exception - package sop.exception
-
Stateless OpenPGP Interface for Java.
- sop.operation - package sop.operation
-
Stateless OpenPGP Interface for Java.
- sop.util - package sop.util
-
Utility classes.
- SOPGPException - Exception in sop.exception
- SOPGPException() - Constructor for exception sop.exception.SOPGPException
- SOPGPException(String) - Constructor for exception sop.exception.SOPGPException
- SOPGPException(String, Throwable) - Constructor for exception sop.exception.SOPGPException
- SOPGPException(Throwable) - Constructor for exception sop.exception.SOPGPException
- SOPGPException.AmbiguousInput - Exception in sop.exception
-
A indirect input parameter is a special designator (it starts with @), and a filename matching the designator is actually present.
- SOPGPException.BadData - Exception in sop.exception
-
Invalid data type (no secret key where KEYS expected, etc.).
- SOPGPException.CannotDecrypt - Exception in sop.exception
-
Unable to decrypt (sop decrypt).
- SOPGPException.CertCannotEncrypt - Exception in sop.exception
-
Certificate not encryption capable (e,g, expired, revoked, unacceptable usage).
- SOPGPException.ExpectedText - Exception in sop.exception
-
Non-Text input where text expected.
- SOPGPException.IncompleteVerification - Exception in sop.exception
-
Incomplete verification instructions (sop decrypt).
- SOPGPException.KeyCannotSign - Exception in sop.exception
-
Key not signature-capable (e.g. expired, revoked, unacceptable usage flags) (sop sign and sop encrypt with --sign-with).
- SOPGPException.KeyIsProtected - Exception in sop.exception
-
A KEYS input is protected (locked) with a password, and sop cannot unlock it.
- SOPGPException.MissingArg - Exception in sop.exception
-
Missing required argument.
- SOPGPException.MissingInput - Exception in sop.exception
-
Input file does not exist.
- SOPGPException.NoSignature - Exception in sop.exception
-
No acceptable signatures found (sop verify).
- SOPGPException.OutputExists - Exception in sop.exception
-
Output file already exists.
- SOPGPException.PasswordNotHumanReadable - Exception in sop.exception
-
Non-UTF-8 or otherwise unreliable password (sop encrypt).
- SOPGPException.UnsupportedAsymmetricAlgo - Exception in sop.exception
-
Asymmetric algorithm unsupported (sop encrypt).
- SOPGPException.UnsupportedOption - Exception in sop.exception
-
Unsupported option.
- SOPGPException.UnsupportedSpecialPrefix - Exception in sop.exception
-
An indirect parameter is a special designator (it starts with @), but sop does not know how to handle the prefix.
- SOPGPException.UnsupportedSubcommand - Exception in sop.exception
-
Unsupported subcommand.
T
- Text - sop.enums.EncryptAs
- Text - sop.enums.SignAs
- toByteArrayAndResult() - Method in class sop.ReadyWithResult
-
Return the data as a
ByteArrayAndResult
. - toString() - Method in class sop.SessionKey
- toString() - Method in class sop.Verification
U
- UnsupportedAsymmetricAlgo(String, Throwable) - Constructor for exception sop.exception.SOPGPException.UnsupportedAsymmetricAlgo
- UnsupportedOption(String) - Constructor for exception sop.exception.SOPGPException.UnsupportedOption
- UnsupportedOption(String, Throwable) - Constructor for exception sop.exception.SOPGPException.UnsupportedOption
- UnsupportedSpecialPrefix() - Constructor for exception sop.exception.SOPGPException.UnsupportedSpecialPrefix
- UnsupportedSubcommand(String) - Constructor for exception sop.exception.SOPGPException.UnsupportedSubcommand
- userId(String) - Method in interface sop.operation.GenerateKey
-
Adds a user-id.
- UTC_FORMATTER - Static variable in class sop.util.UTCUtil
- UTC_PARSERS - Static variable in class sop.util.UTCUtil
- UTCUtil - Class in sop.util
-
Utility class to parse and format dates as ISO-8601 UTC timestamps.
- UTCUtil() - Constructor for class sop.util.UTCUtil
- UTF8Util - Class in sop.util
- UTF8Util() - Constructor for class sop.util.UTF8Util
V
- valueOf(String) - Static method in enum sop.enums.ArmorLabel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum sop.enums.EncryptAs
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum sop.enums.SignAs
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum sop.enums.ArmorLabel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum sop.enums.EncryptAs
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum sop.enums.SignAs
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Verification - Class in sop
- Verification(Date, String, String) - Constructor for class sop.Verification
- verify() - Method in interface sop.SOP
-
Verify detached signatures.
- Verify - Interface in sop.operation
- verifyNotAfter(Date) - Method in interface sop.operation.Decrypt
-
Makes the SOP consider signatures after this date invalid.
- verifyNotBefore(Date) - Method in interface sop.operation.Decrypt
-
Makes the SOP consider signatures before this date invalid.
- VerifySignatures - Interface in sop.operation
- verifyWithCert(byte[]) - Method in interface sop.operation.Decrypt
-
Adds one or more verification cert.
- verifyWithCert(InputStream) - Method in interface sop.operation.Decrypt
-
Adds one or more verification cert.
- version() - Method in interface sop.SOP
-
Get information about the implementations name and version.
- Version - Interface in sop.operation
W
- withCert(byte[]) - Method in interface sop.operation.Encrypt
-
Encrypt with the given cert.
- withCert(InputStream) - Method in interface sop.operation.Encrypt
-
Encrypt with the given cert.
- withKey(byte[]) - Method in interface sop.operation.Decrypt
-
Adds one or more decryption key.
- withKey(InputStream) - Method in interface sop.operation.Decrypt
-
Adds one or more decryption key.
- withPassword(String) - Method in interface sop.operation.Decrypt
-
Tries to decrypt with the given password.
- withPassword(String) - Method in interface sop.operation.Encrypt
-
Encrypt with the given password.
- withSessionKey(SessionKey) - Method in interface sop.operation.Decrypt
-
Tries to decrypt with the given session key.
- write(byte[]) - Method in class sop.util.ProxyOutputStream
- write(byte[], int, int) - Method in class sop.util.ProxyOutputStream
- write(int) - Method in class sop.util.ProxyOutputStream
- writeTo(OutputStream) - Method in class sop.MicAlg
- writeTo(OutputStream) - Method in class sop.Ready
-
Write the data to the provided output stream.
- writeTo(OutputStream) - Method in class sop.ReadyWithResult
-
Write the data e.g. decrypted plaintext to the provided output stream and return the result of the processing operation.
- writeTo(OutputStream) - Method in class sop.Signatures
-
Write OpenPGP signatures to the provided output stream.
All Classes All Packages