Uses of Class
org.keyczar.exceptions.KeyczarException

Packages that use KeyczarException
org.keyczar   
org.keyczar.exceptions   
org.keyczar.experimental   
org.keyczar.interfaces   
org.keyczar.util   
 

Uses of KeyczarException in org.keyczar
 

Methods in org.keyczar that throw KeyczarException
 boolean MockKeyczarReader.addKey(int versionNumber, KeyStatus status)
           
 boolean MockKeyczarReader.addKey(int versionNumber, KeyStatus status, int size)
           
 int Encrypter.ciphertextSize(int inputLength)
          Returns the size of the ciphertext output that would result from encrypting an input of the given length.
 byte[] Crypter.decrypt(byte[] input)
          Decrypt the given byte array of ciphertext
 void Crypter.decrypt(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
          Decrypt the given ciphertext input ByteBuffer and write the decrypted plaintext to the output ByteBuffer
 java.lang.String Crypter.decrypt(java.lang.String ciphertext)
          Decrypt the given web-safe Base64 encoded ciphertext and return the decrypted plaintext as a String.
 int Signer.digestSize()
          Returns the size of signatures produced by this Signer.
 byte[] Encrypter.encrypt(byte[] input)
          Encrypt the given input byte array.
 void Encrypter.encrypt(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
          Encrypt the given input ByteBuffer.
 java.lang.String Encrypter.encrypt(java.lang.String input)
          Encrypt a String and return a web-safe Base64 encoded ciphertext.
 java.lang.String MockKeyczarReader.getKey(int version)
           
 byte[] Signer.sign(byte[] input)
          Sign the given input and return a signature.
 void Signer.sign(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
          Sign the given input and write the signature to the given ByteBuffer
 java.lang.String Signer.sign(java.lang.String input)
          Signs the given input String and return the output as a web-safe Base64 encoded String.
 byte[] TimeoutSigner.timeoutSign(byte[] input, long expirationTime)
          Sign the given input and return a signature that is valid until the expiration time given as the number of milliseconds since "the epoch" of 1/1/1970 00:00:00 GMT
 void TimeoutSigner.timeoutSign(java.nio.ByteBuffer input, long expirationTime, java.nio.ByteBuffer output)
          Signs the input and produces a signature that is valid until the expiration time given as the number of milliseconds since "the epoch" of 1/1/1970 00:00:00 GMT
 java.lang.String TimeoutSigner.timeoutSign(java.lang.String input, long expirationTime)
          Sign the given input and return a signature that is valid until the expiration time given as the number of milliseconds since "the epoch" of 1/1/1970 00:00:00 GMT
 boolean TimeoutVerifier.verify(byte[] data, byte[] signature)
          Verifies a timeout signature on the given byte array of data
 boolean Verifier.verify(byte[] data, byte[] signature)
          Verifies a signature on the given byte array of data
 boolean TimeoutVerifier.verify(java.nio.ByteBuffer data, java.nio.ByteBuffer timeoutSignature)
          Verify the timeout signature on the given data
 boolean Verifier.verify(java.nio.ByteBuffer data, java.nio.ByteBuffer signature)
          Verifies the signature on the data stored in the given ByteBuffer
 boolean TimeoutVerifier.verify(java.lang.String data, java.lang.String signature)
          Verifies the timeout signature on the given String
 boolean Verifier.verify(java.lang.String data, java.lang.String signature)
          Verifies the signature on the given String
 

Constructors in org.keyczar that throw KeyczarException
Crypter(KeyczarReader reader)
          Initialize a new Crypter with a KeyczarReader.
Crypter(java.lang.String fileLocation)
          Initialize a new Crypter with a key set location.
Encrypter(KeyczarReader reader)
          Initialize a new Encrypter with a KeyczarReader.
Encrypter(java.lang.String fileLocation)
          Initialize a new Encrypter with a key set location.
Signer(KeyczarReader reader)
          Initialize a new Signer with a KeyczarReader.
Signer(java.lang.String fileLocation)
          Initialize a new Signer with a key set location.
TimeoutSigner(KeyczarReader reader)
          Initialize a new TimeoutSigner with a KeyczarReader.
TimeoutSigner(java.lang.String fileLocation)
          Initialize a new TimeoutSigner with a key set location.
TimeoutVerifier(KeyczarReader reader)
          Initialize a new TimeoutVerifier with a KeyczarReader.
TimeoutVerifier(java.lang.String fileLocation)
          Initialize a new TimeoutVerifier with a key set location.
Verifier(KeyczarReader reader)
          Initialize a new Verifier with a KeyczarReader.
Verifier(java.lang.String fileLocation)
          Initialize a new Verifier with a key set location.
 

Uses of KeyczarException in org.keyczar.exceptions
 

Subclasses of KeyczarException in org.keyczar.exceptions
 class BadVersionException
          Keyczar output that is not properly prepended by the current Keyczar version is parsed.
 class Base64DecodingException
          An error occurs in attempting to decode a web-safe Base64 string (e.g.
 class InvalidSignatureException
          The signature attached to a given ciphertext or other Keyczar output doesn't properly correspond to it.
 class KeyNotFoundException
          Key with a particular hash is not found.
 class NoPrimaryKeyException
          Primary key is missing when trying to perform an operation (e.g.
 class ShortBufferException
          An input buffer is too short.
 class ShortCiphertextException
          Keyczar is trying to decrypt a ciphertext that is too short to be valid (e.g.
 class ShortSignatureException
          Keyczar signature is too short to be valid.
 class UnsupportedTypeException
          A key type was used in an inappropriate purpose.
 

Uses of KeyczarException in org.keyczar.experimental
 

Methods in org.keyczar.experimental that throw KeyczarException
 java.net.URI UriSigner.sign(java.net.URI uri)
          Returns a signed URI with the signature in the default parameter 'sig'.
 java.net.URI UriSigner.sign(java.net.URI uri, java.lang.String sigParam)
          Returns a signed URI with the signature in a parameter with the specified name.
 boolean UriSigner.verify(java.net.URI signedUri)
          Verifies that the given URI is properly signed.
 boolean UriSigner.verify(java.net.URI signedUri, java.lang.String sigParam)
          Verifies that the given URI is properly signed.
 

Constructors in org.keyczar.experimental that throw KeyczarException
UriSigner(KeyczarReader reader)
           
UriSigner(java.lang.String fileLocation)
           
 

Uses of KeyczarException in org.keyczar.interfaces
 

Methods in org.keyczar.interfaces that throw KeyczarException
 int DecryptingStream.doFinalDecrypt(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
          Do the final decrypt operation.
 int EncryptingStream.doFinalEncrypt(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
          Do the final encrypt operation.
 java.lang.String KeyczarReader.getKey(int version)
          Returns an input stream of a particular version of a key
 java.lang.String KeyczarReader.getMetadata()
           
 SigningStream EncryptingStream.getSigningStream()
          Returns a Signing Stream able to sign ciphertexts produced by this EncryptingStream.
 void DecryptingStream.initDecrypt(java.nio.ByteBuffer input)
          Initializes this stream for decryption.
 int EncryptingStream.initEncrypt(java.nio.ByteBuffer output)
          Initializes this stream for encryption.
 void SigningStream.initSign()
          Initializes this stream for signing.
 void VerifyingStream.initVerify()
          Initialize this stream for verification.
 void SigningStream.sign(java.nio.ByteBuffer output)
          Sign the updated input and output the signature in the given buffer.
 int DecryptingStream.updateDecrypt(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
          Update with more input to decrypt.
 int EncryptingStream.updateEncrypt(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
          Update with more input to encrypt.
 void SigningStream.updateSign(java.nio.ByteBuffer input)
          Update the signature with the given input.
 void VerifyingStream.updateVerify(java.nio.ByteBuffer input)
          Update the data which has been signed.
 boolean VerifyingStream.verify(java.nio.ByteBuffer signature)
          Verify that the given signautre is a valid signautre on the updated data.
 

Uses of KeyczarException in org.keyczar.util
 

Methods in org.keyczar.util that throw KeyczarException
static byte[] Util.prefixHash(byte[]... inputs)
          Hashes a variable number of inputs and returns a new byte array