Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
L
M
N
P
S
U
A
ATTACHED_KEYS
- Static variable in class net.suberic.crypto.
EncryptionUtils
Contains encryption keys.
B
ByteArrayDataSource
- class net.suberic.crypto.
ByteArrayDataSource
.
A DataSource based off of a byte array.
ByteArrayDataSource(byte[], String, String)
- Constructor for class net.suberic.crypto.
ByteArrayDataSource
Creates a ByteArrayDataSource from the given byte array.
C
canonicalize(MimeMessage, Session)
- Static method in class net.suberic.crypto.
MimeUtils
Translates a MimeMessage into its MIME-canonical form.
canonicalize(MimeBodyPart)
- Static method in class net.suberic.crypto.
MimeUtils
Translates a MimeBodyPart into its MIME-canonical form.
checkEncryptionType(MimePart)
- Static method in class net.suberic.crypto.
EncryptionManager
Identifies the encryption type of the given MimePart.
checkSignature(MimePart, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Checks the signature on a Part.
checkSignature(MimeMessage, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Checks the signature on a Message.
checkSignature(MimeMultipart, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Checks the signature on a Multipart.
checkSignature(InputStream, byte[], Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Checks a signature against a section of text.
checkSignature(MimeMessage, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Checks the signature on a MimeMessage.
checkSignature(MimePart, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Checks the signature on a MimePart.
checkSignature(MimeMultipart, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Checks the signature on a BodyPart.
checkSignature(InputStream, byte[], Key)
- Method in interface net.suberic.crypto.
PGPProviderImpl
Checks a signature against a section of text.
containsPrivateKeyAlias(String)
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Checks if the given alias exists in this keystore.
containsPublicKeyAlias(String)
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Checks if the given alias exists in this keystore.
createEncryptedPart(InputStream, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Makes an encrypted BodyPart from the content in the given InputStream.
createKeyManager()
- Method in class net.suberic.crypto.
EncryptionUtils
Creates an empty EncryptionKeyManager that's appropriate for this Encryption provider.
createKeyManager()
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Returns a KeyStore provider.
createKeyManager(InputStream, char[])
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Returns a KeyStore provider.
createKeyManager()
- Method in interface net.suberic.crypto.
PGPProviderImpl
Returns a KeyStore provider.
createKeyManager(InputStream, char[])
- Method in interface net.suberic.crypto.
PGPProviderImpl
Returns a KeyStore provider.
createPublicKeyPart(Key[])
- Method in class net.suberic.crypto.
EncryptionUtils
Creates a public key body part.
createPublicKeyPart(Key[])
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Packages up the public keys in a form to be sent as a public key message.
D
decrypt(InputStream, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Decrypts a section of text using an java.security.Key.
decrypt(InputStream, Key)
- Method in interface net.suberic.crypto.
PGPProviderImpl
Decrypts a section of text using an EncryptionKey.
decryptBodyPart(MimeBodyPart, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Decrypts a MimeBodyPart.
decryptBodyPart(MimeBodyPart, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Decrypts a MimeBodyPart.
decryptMessage(Session, MimeMessage, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Decrypts a MimeMessage.
decryptMessage(Session, MimeMessage, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Decrypts a Message.
decryptMultipart(MimeMultipart, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Decrypts a Multipart.
decryptMultipart(MimeMultipart, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Decrypts a Multipart.
deletePrivateKeyEntry(String, char[])
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Deletes the entry identified by the given alias from this keystore.
deletePublicKeyEntry(String)
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Deletes the entry identified by the given alias from this keystore.
E
ENCRYPTED
- Static variable in class net.suberic.crypto.
EncryptionUtils
Encrypted message.
EncryptionKey
- interface net.suberic.crypto.
EncryptionKey
.
An extension to java.security.Key that knows about the EncryptionUtils that created it, as well as has some display info associated.
EncryptionKeyManager
- interface net.suberic.crypto.
EncryptionKeyManager
.
This manages a set of Encryption keys for use with PGP or S/MIME.
EncryptionManager
- class net.suberic.crypto.
EncryptionManager
.
Manager for the JavaMail Encryption package.
EncryptionManager()
- Constructor for class net.suberic.crypto.
EncryptionManager
EncryptionUtils
- class net.suberic.crypto.
EncryptionUtils
.
Utilities for encrypting/decrypting messages.
EncryptionUtils()
- Constructor for class net.suberic.crypto.
EncryptionUtils
encrypt(InputStream, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Encrypts a section of text using an java.security.Key.
encrypt(InputStream, Key)
- Method in interface net.suberic.crypto.
PGPProviderImpl
Encrypts a section of text using an EncryptionKey.
encryptMessage(Session, MimeMessage, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Encrypts a MimeMessage.
encryptMessage(Session, MimeMessage, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Encrypts a Message.
encryptPart(MimeBodyPart, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Encrypts a MimeBodyPart;
encryptPart(MimeBodyPart, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Encrypts a MimeBodyPart;
extractKeys(MimeBodyPart)
- Method in class net.suberic.crypto.
EncryptionUtils
Extracts keys from a public key body part.
extractKeys(MimeMessage)
- Method in class net.suberic.crypto.
EncryptionUtils
Extracts keys from a public key body part.
extractKeys(InputStream)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Extracts public key information.
extractKeys(MimeMessage)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Extracts public key information.
extractKeys(MimeBodyPart)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Extracts public key information.
extractKeys(InputStream)
- Method in interface net.suberic.crypto.
PGPProviderImpl
Extracts public key information.
G
getAssociatedAddresses()
- Method in interface net.suberic.crypto.
EncryptionKey
Returns the email address(es) associated with this key.
getContentType()
- Method in class net.suberic.crypto.
ByteArrayDataSource
This method returns the MIME type of the data in the form of a string.
getContentType()
- Method in class net.suberic.crypto.
MultipartEncrypted
Returns the content type given in the constructor.
getDisplayAlias()
- Method in interface net.suberic.crypto.
EncryptionKey
Returns the display information for this Key.
getEncryptionStatus(MimePart)
- Method in class net.suberic.crypto.
EncryptionUtils
Returns the encryption status of this MimePart: ENCRYPTED, SIGNED, ATTACHED_KEYS, or NOT_ENCRYPTED.
getEncryptionStatus(MimePart)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Returns the encryption status of this MimeMessage: ENCRYPTED, SIGNED, or NOT_ENCRYPTED.
getEncryptionUtils()
- Method in interface net.suberic.crypto.
EncryptionKey
Returns the EncryptionUtils that created this Key.
getEncryptionUtils(String)
- Static method in class net.suberic.crypto.
EncryptionManager
Returns an EncryptionUtils for the given encryption method, usually 'S/MIME' or 'PGP'.
getEncryptionUtils(MimePart)
- Static method in class net.suberic.crypto.
EncryptionManager
Returns an EncryptionUtils object for the given MimePart.
getInputStream()
- Method in class net.suberic.crypto.
ByteArrayDataSource
Returns a new ByteArrayInputStream based off of the byte array given as content.
getName()
- Method in class net.suberic.crypto.
ByteArrayDataSource
Return the name of this object where the name of the object is dependant on the nature of the underlying objects.
getOutputStream()
- Method in class net.suberic.crypto.
ByteArrayDataSource
This method returns an OutputStream where the data can be written and throws the appropriate exception if it can not do so.
getPGPProviderImpl()
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Returns the PGPProviderImpl.
getPrivateKey(String, char[])
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Returns the key associated with the given alias, using the given password to recover it.
getPublicKey(String)
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Returns the key associated with the given alias, using the given password to recover it.
getSignedContent(MimePart)
- Method in class net.suberic.crypto.
EncryptionUtils
Returns the signed body part.
getSignedContent(MimePart)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Returns the signed body part.
getType()
- Method in interface net.suberic.crypto.
EncryptionKey
Returns the type (S/MIME, PGP) of this Key.
getType()
- Method in class net.suberic.crypto.
EncryptionUtils
Returns the encryption type that these utils are implementing (PGP or SMIME).
getType()
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Returns the encryption type that these utils are implementing (PGP or SMIME).
L
loadPrivateKeystore(InputStream, char[])
- Method in interface net.suberic.crypto.
EncryptionKeyManager
loadPublicKeystore(InputStream, char[])
- Method in interface net.suberic.crypto.
EncryptionKeyManager
M
MimeUtils
- class net.suberic.crypto.
MimeUtils
.
Utilities for handling Mime messages from JavaMail.
MimeUtils()
- Constructor for class net.suberic.crypto.
MimeUtils
MultipartEncrypted
- class net.suberic.crypto.
MultipartEncrypted
.
A subclass of MimeMultipart which allows for a custom content type.
MultipartEncrypted(ContentType)
- Constructor for class net.suberic.crypto.
MultipartEncrypted
Makes a Multipart that uses the given content type, but otherwise is exactly like a multipart/mixed.
N
NOT_ENCRYPTED
- Static variable in class net.suberic.crypto.
EncryptionUtils
Not encrypted or signed.
net.suberic.crypto
- package net.suberic.crypto
P
PGP
- Static variable in class net.suberic.crypto.
EncryptionManager
PGPEncryptionUtils
- class net.suberic.crypto.
PGPEncryptionUtils
.
Utilities for encrypting/decrypting messages.
PGPEncryptionUtils()
- Constructor for class net.suberic.crypto.
PGPEncryptionUtils
PGPProviderImpl
- interface net.suberic.crypto.
PGPProviderImpl
.
Something which decrypts PGP streams.
packageKeys(Key[])
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Packages up the public keys in a form to be sent as a public key message.
packageKeys(Key[])
- Method in interface net.suberic.crypto.
PGPProviderImpl
Packages up the public keys in a form to be sent as a public key message.
privateKeyAliases()
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Lists all the alias names of this keystore.
publicKeyAliases()
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Lists all the alias names of this keystore.
S
SIGNED
- Static variable in class net.suberic.crypto.
EncryptionUtils
Signed message.
SMIME
- Static variable in class net.suberic.crypto.
EncryptionManager
setPGPProviderImpl(PGPProviderImpl)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Sets the PGPProviderImpl.
setPrivateKeyEntry(String, Key, char[])
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Assigns the given key to the given alias, protecting it with the given password.
setPublicKeyEntry(String, Key)
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Assigns the given key to the given alias, protecting it with the given password.
sign(InputStream, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Signs a section of text.
sign(InputStream, Key)
- Method in interface net.suberic.crypto.
PGPProviderImpl
Signs a section of text.
signBodyPart(MimeBodyPart, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Signs a MimeBodyPart.
signBodyPart(MimeBodyPart, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Signs a MimeBodyPart.
signMessage(Session, MimeMessage, Key)
- Method in class net.suberic.crypto.
EncryptionUtils
Signs a Message.
signMessage(Session, MimeMessage, Key)
- Method in class net.suberic.crypto.
PGPEncryptionUtils
Signs a Message.
size()
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Retrieves the number of entries in this keystore.
storePrivateKeystore(OutputStream, char[])
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Stores this keystore to the given output stream, and protects its integrity with the given password.
storePublicKeystore(OutputStream, char[])
- Method in interface net.suberic.crypto.
EncryptionKeyManager
Stores this keystore to the given output stream, and protects its integrity with the given password.
U
UpdatableMBP
- class net.suberic.crypto.
UpdatableMBP
.
A MimeBodyPart that allows for updateHeaders() to be called.
UpdatableMBP()
- Constructor for class net.suberic.crypto.
UpdatableMBP
Create a new UpdatableMimeBodyPart.
UpdatableMBP(InputStream)
- Constructor for class net.suberic.crypto.
UpdatableMBP
Create a new UpdatableMimeBodyPart.
updateMyHeaders()
- Method in class net.suberic.crypto.
UpdatableMBP
Calls updateHeaders().
A
B
C
D
E
G
L
M
N
P
S
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes