|
Cryptix OpenPGP | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MessageException | |
cryptix.message | The Cryptix Message API. |
cryptix.openpgp | OpenPGP specific extensions to the Message and PKI API's. |
Uses of MessageException in cryptix.message |
Methods in cryptix.message that throw MessageException | |
abstract void |
SignedMessageBuilderSpi.engineInit(Message contents,
java.security.SecureRandom sr)
Initializes this builder with the given message. |
abstract void |
SignedMessageBuilderSpi.engineSetAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
abstract void |
SignedMessageBuilderSpi.engineAddSigner(java.security.PrivateKey signingkey)
Adds a signer |
abstract void |
SignedMessageBuilderSpi.engineAddSigner(KeyBundle bundle,
char[] passphrase)
Adds a signer from a keybundle, decrypting it with the given passphrase. |
abstract Message |
SignedMessageBuilderSpi.engineBuild()
Returns the signed message |
void |
SignedMessageBuilder.init(Message contents)
Initializes this builder with the given message. |
void |
SignedMessageBuilder.init(Message contents,
java.security.SecureRandom sr)
Initializes this builder with the given message and SecureRandom object. |
void |
SignedMessageBuilder.setAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
void |
SignedMessageBuilder.addSigner(java.security.PrivateKey signingkey)
Adds a signer |
void |
SignedMessageBuilder.addSigner(KeyBundle signingkey,
char[] passphrase)
Adds a signer from a keybundle, decrypting it with the given passphrase. |
Message |
SignedMessageBuilder.build()
Returns the signed message |
abstract Message |
SignedMessage.getContents()
Get the message itself |
abstract boolean |
SignedMessage.verify(java.security.PublicKey pubkey)
Verify if this message was correctly signed by a particular public key. |
abstract boolean |
SignedMessage.verify(KeyBundle pubkey)
Verify if this message was correctly signed by a particular keybundle. |
abstract KeyID[] |
SignedMessage.getKeyIDHints()
Returns hints for which key was used to sign this message |
abstract java.util.Collection |
MessageFactorySpi.engineGenerateMessages(java.io.InputStream in)
Generates a (possible empty) collection of messages from an input stream. |
abstract Message |
MessageFactorySpi.engineGenerateMessage(java.io.InputStream in)
Generates a messages from an input stream. |
java.util.Collection |
MessageFactory.generateMessages(java.io.InputStream in)
Generates a (possible empty) collection of messages from an input stream. |
Message |
MessageFactory.generateMessage(java.io.InputStream in)
Generates a message from an input stream. |
abstract byte[] |
Message.getEncoded()
Returns the message in encoded format. |
abstract java.lang.Object |
Message.getAttribute(java.lang.String name)
Get a format specific attribute. |
abstract void |
LiteralMessageBuilderSpi.engineInit(byte[] contents,
java.security.SecureRandom sr)
Initializes this builder with the given binary data and SecureRandom object. |
abstract void |
LiteralMessageBuilderSpi.engineInit(java.lang.String contents,
java.security.SecureRandom sr)
Initializes this builder with the given text data and SecureRandom object. |
abstract void |
LiteralMessageBuilderSpi.engineSetAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
abstract Message |
LiteralMessageBuilderSpi.engineBuild()
Returns the built literal message |
void |
LiteralMessageBuilder.init(byte[] contents)
Initializes this builder with the given binary data. |
void |
LiteralMessageBuilder.init(byte[] contents,
java.security.SecureRandom sr)
Initializes this builder with the given binary data and SecureRandom object. |
void |
LiteralMessageBuilder.init(java.lang.String contents)
Initializes this builder with the given text data. |
void |
LiteralMessageBuilder.init(java.lang.String contents,
java.security.SecureRandom sr)
Initializes this builder with the given text data and SecureRandom object. |
void |
LiteralMessageBuilder.setAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
Message |
LiteralMessageBuilder.build()
Returns the built literal message |
abstract byte[] |
LiteralMessage.getBinaryData()
Returns the data in binary format as an array of bytes. |
abstract java.io.InputStream |
LiteralMessage.getBinaryDataInputStream()
Returns the data in binary format trough an inputstream. |
abstract java.lang.String |
LiteralMessage.getTextData()
Returns the data in text format as a string. |
abstract java.io.Reader |
LiteralMessage.getTextDataReader()
Returns the data in text format as a character reader. |
abstract void |
KeyBundleMessageBuilderSpi.engineInit(KeyBundle contents)
Initializes this builder with the given keybundle. |
abstract void |
KeyBundleMessageBuilderSpi.engineSetAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
abstract Message |
KeyBundleMessageBuilderSpi.engineBuild()
Returns a message containing a keybundle. |
void |
KeyBundleMessageBuilder.init(KeyBundle contents)
Initializes this builder with the given keybundle. |
void |
KeyBundleMessageBuilder.setAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
Message |
KeyBundleMessageBuilder.build()
Returns a message containing a keybundle. |
abstract void |
EncryptedMessageBuilderSpi.engineInit(Message contents,
java.security.SecureRandom sr)
Initializes this builder with the given message. |
abstract void |
EncryptedMessageBuilderSpi.engineSetAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
abstract void |
EncryptedMessageBuilderSpi.engineAddRecipient(java.security.PublicKey publickey)
Adds a public key recipient |
abstract void |
EncryptedMessageBuilderSpi.engineAddRecipient(KeyBundle bundle)
Adds a keybundle recipient |
abstract void |
EncryptedMessageBuilderSpi.engineAddRecipient(javax.crypto.SecretKey symmetrickey)
Adds a symmetric key recipient |
abstract void |
EncryptedMessageBuilderSpi.engineAddRecipient(java.lang.String passphrase)
Adds a passphrase recipient |
abstract Message |
EncryptedMessageBuilderSpi.engineBuild()
Returns the encrypted message |
void |
EncryptedMessageBuilder.init(Message contents)
Initializes this builder with the given message. |
void |
EncryptedMessageBuilder.init(Message contents,
java.security.SecureRandom sr)
Initializes this builder with the given message and SecureRandom object. |
void |
EncryptedMessageBuilder.setAttribute(java.lang.String name,
java.lang.Object attr)
Set a format specific attribute. |
void |
EncryptedMessageBuilder.addRecipient(java.security.PublicKey publickey)
Adds a public key recipient |
void |
EncryptedMessageBuilder.addRecipient(KeyBundle bundle)
Adds a keybundle recipient |
void |
EncryptedMessageBuilder.addRecipient(javax.crypto.SecretKey symmetrickey)
Adds a symmetric key recipient |
void |
EncryptedMessageBuilder.addRecipient(java.lang.String passphrase)
Adds a passphrase recipient |
Message |
EncryptedMessageBuilder.build()
Returns the encrypted message |
abstract Message |
EncryptedMessage.decrypt(java.security.Key key)
Decrypt the message with a key. |
abstract Message |
EncryptedMessage.decrypt(KeyBundle bundle,
char[] passphrase)
Decrypt the message with a keybundle, decrypting the private key in the keybundle using the given passphrase. |
abstract Message |
EncryptedMessage.decrypt(char[] passphrase)
Decrypt the message with a passphrase. |
abstract KeyID[] |
EncryptedMessage.getKeyIDHints()
Returns hints for which keys can be used to decrypt this message |
Uses of MessageException in cryptix.openpgp |
Methods in cryptix.openpgp that throw MessageException | |
abstract PGPDetachedSignatureMessage |
PGPSignedMessage.getDetachedSignature()
Returns a detached signature. |
abstract boolean |
PGPDetachedSignatureMessage.verify(Message msg,
java.security.PublicKey pubkey)
Verify if this detached signature is a correct signature on a particular message by a particular public key. |
abstract boolean |
PGPDetachedSignatureMessage.verify(Message msg,
KeyBundle pubkey)
Verify if this detached signature is a correct signature on a particular message by a particular keybundle. |
byte[] |
PGPArmouredMessage.getEncoded()
Returns the message in encoded format. |
java.lang.Object |
PGPArmouredMessage.getAttribute(java.lang.String name)
Get a format specific attribute. |
java.lang.String |
PGPArmouredMessage.getEncodedString()
Returns the message in encoded format. |
|
Cryptix OpenPGP | ||||||||||
PREV NEXT | FRAMES NO FRAMES |