Uses of Class
uk.org.ogsadai.common.rolemap.CryptographyException

Packages that use CryptographyException
uk.org.ogsadai.common.rolemap This package provides a set of classes to support the mapping of security credentials to usernames and passwords - role mapping. 
 

Uses of CryptographyException in uk.org.ogsadai.common.rolemap
 

Methods in uk.org.ogsadai.common.rolemap that throw CryptographyException
static java.lang.String Cryptography.scramble(java.lang.String password, byte[] plainText)
          Encrypts an array of bytes, using a given password, and returns the encrypted bytes as a Base64 encoded string.
static java.lang.String Cryptography.scramble(java.lang.String password, java.lang.String plainText)
          Encrypts a string, using a given password, and returns the encrypted text as a Base64 encoded string.
static java.lang.String Cryptography.unscramble(java.lang.String password, byte[] scrambled)
          Unencrypts an array of Base64 encoded bytes, using a given password, and returns the unencrypted bytes as a string.
static java.lang.String Cryptography.unscramble(java.lang.String password, java.lang.String scrambled)
          Unencrypts a Base64 encoded string, using a given password, and returns the unencrypted string.
static java.lang.String Cryptography.unscramble(java.lang.String scrambled)
          Unencrypts a Base64 encoded string, using the value of the ogsadai.password system property as a password, and returns the unencrypted string.
private static byte[] Cryptography.decrypt(java.lang.String password, byte[] cypherText)
          Decrypt an array of bytes, using the given password, and return the decrypted bytes.
private static byte[] Cryptography.decrypt(java.lang.String password, java.lang.String cypherText)
          Decrypt a string, using the given password, and return the decrypted string as an array of bytes.
private static byte[] Cryptography.encrypt(java.lang.String password, byte[] plainText)
          Encrypt an array of bytes, using the given password, and return the encrypted bytes.
private static byte[] Cryptography.encrypt(java.lang.String password, java.lang.String plainText)
          Encrypt a string, using the given password, and return the encrypted string as an array of bytes.
private static javax.crypto.Cipher Cryptography.getCypher(java.lang.String password, int encryptMode)
          Returns a fully-initialised Cipher object which can be used for encryption or decryption.