Index

B C D E G H M S 
All Classes and Interfaces|All Packages

B

bytesAreValid(PublicKey, byte[], byte[]) - Method in class craterdog.security.MessageCryptex
This method checks to see if the signature for a signed byte array is valid.

C

craterdog.security - package craterdog.security
 

D

decodePrivateKey(String, SecretKey) - Method in class craterdog.security.MessageCryptex
This method decodes private key from a PEM string.
decodePublicKey(String) - Method in class craterdog.security.MessageCryptex
This method decodes public key from a PEM string.
decodeString(String) - Method in class craterdog.security.MessageCryptex
This method decodes a base 64 string into its original bytes.
decryptionInputStream(SecretKey, InputStream) - Method in class craterdog.security.MessageCryptex
This method generates an input stream that performs decryption on another input stream.
decryptSharedKey(PrivateKey, byte[]) - Method in class craterdog.security.MessageCryptex
This method decrypts a shared key using the private key that is paired with the public certificate that was used to encrypt it at the source.
decryptStream(SecretKey, InputStream, OutputStream) - Method in class craterdog.security.MessageCryptex
This method decrypts a byte stream from an encrypted byte stream.
decryptString(SecretKey, byte[]) - Method in class craterdog.security.MessageCryptex
This method decrypts a string using a shared key.

E

encodeBytes(byte[]) - Method in class craterdog.security.MessageCryptex
This method encodes a byte array into a base 64 string.
encodeBytes(byte[], String) - Method in class craterdog.security.MessageCryptex
This method encodes a byte array into a base 64 string where each line is prepended with an indentation string.
encodePrivateKey(PrivateKey, SecretKey) - Method in class craterdog.security.MessageCryptex
This method encodes a private key into a PEM string.
encodePrivateKey(PrivateKey, SecretKey, String) - Method in class craterdog.security.MessageCryptex
This method encodes a private key into a PEM string with a prepended indentation string.
encodePublicKey(PublicKey) - Method in class craterdog.security.MessageCryptex
This method encodes a public key into a PEM string.
encodePublicKey(PublicKey, String) - Method in class craterdog.security.MessageCryptex
This method encodes a public key into a PEM string with a prepended indentation string.
encryptionOutputStream(SecretKey, OutputStream) - Method in class craterdog.security.MessageCryptex
This method generates an output stream that performs encryption on another output stream.
encryptSharedKey(PublicKey, SecretKey) - Method in class craterdog.security.MessageCryptex
This method encrypts a shared key using the public certificate of the destination for a data stream that will be encrypted using the shared key.
encryptStream(SecretKey, InputStream, OutputStream) - Method in class craterdog.security.MessageCryptex
This method encrypts a byte stream using a shared key.
encryptString(SecretKey, String) - Method in class craterdog.security.MessageCryptex
This method encrypts a string using a shared key.

G

generateKeyPair() - Method in class craterdog.security.MessageCryptex
This method generates a new public/private key pair.
generatePasswordKey(char[]) - Method in class craterdog.security.MessageCryptex
This method generates a password (secret) key to be used for encrypting a private key.
generateSharedKey() - Method in class craterdog.security.MessageCryptex
This method generates a shared (secret) key to be used for encrypting large amounts of data.
getAsymmetricEncryptionAlgorithm() - Method in class craterdog.security.MessageCryptex
This method returns the asymmetric encryption algorithm used by this cryptex.
getAsymmetricKeySize() - Method in class craterdog.security.MessageCryptex
This method returns the asymmetric key size.
getAsymmetricKeyType() - Method in class craterdog.security.MessageCryptex
This method returns the asymmetric key type string.
getAsymmetricSignatureAlgorithm() - Method in class craterdog.security.MessageCryptex
This method returns the asymmetric signature algorithm used by this cryptex.
getHashAlgorithm() - Method in class craterdog.security.MessageCryptex
This method returns the hash algorithm.
getPasswordEncodingType() - Method in class craterdog.security.MessageCryptex
This method returns the password encoding type used for password based encryption (PBE) used by this cryptex.
getSymmetricEncryptionAlgorithm() - Method in class craterdog.security.MessageCryptex
This method returns the symmetric encryption algorithm used by this cryptex.
getSymmetricKeySize() - Method in class craterdog.security.MessageCryptex
This method returns the symmetric key size used by this cryptex.
getSymmetricKeyType() - Method in class craterdog.security.MessageCryptex
This method returns the symmetric key type used by this cryptex.

H

hashString(String) - Method in class craterdog.security.MessageCryptex
This method returns a base 64 encoded SHA256 one-way hash of the specified string.

M

MessageCryptex - Class in craterdog.security
This abstract class defines constants and implements invariant methods that are needed by all concrete classes that implement key and message encryption and decryption.
MessageCryptex() - Constructor for class craterdog.security.MessageCryptex
 

S

signBytes(PrivateKey, byte[]) - Method in class craterdog.security.MessageCryptex
This method signs a byte array.
B C D E G H M S 
All Classes and Interfaces|All Packages