- DAS_META - Static variable in class org.miloss.fgsms.common.Constants
-
- DCS_META - Static variable in class org.miloss.fgsms.common.Constants
-
- DCSaction - Static variable in class org.miloss.fgsms.common.Constants
-
- DCSaction2 - Static variable in class org.miloss.fgsms.common.Constants
-
- DCSaction3 - Static variable in class org.miloss.fgsms.common.Constants
-
- DCSaction4 - Static variable in class org.miloss.fgsms.common.Constants
-
- DE(String) - Static method in class org.miloss.fgsms.common.AES
-
- DE(String, String) - Static method in class org.miloss.fgsms.common.AES
-
- debug(Object) - Method in class org.miloss.fgsms.common.Logger
-
- debug(Object, Throwable) - Method in class org.miloss.fgsms.common.Logger
-
- decode(Object) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Decodes an Object using the Base-N algorithm.
- decode(String) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Decodes a String containing characters in the Base-N alphabet.
- decode(byte[]) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Decodes a byte[] containing characters in the Base-N alphabet.
- decode(Object) - Method in class org.miloss.fgsms.common.codec.BinaryCodec
-
Decodes a byte array where each byte represents an ASCII '0' or '1'.
- decode(byte[]) - Method in class org.miloss.fgsms.common.codec.BinaryCodec
-
Decodes a byte array where each byte represents an ASCII '0' or '1'.
- decode(byte[]) - Method in interface org.miloss.fgsms.common.codec.BinaryDecoder
-
Decodes a byte array and returns the results as a byte array.
- decode(Object) - Method in interface org.miloss.fgsms.common.codec.Decoder
-
Decodes an "encoded" Object and returns a "decoded" Object.
- decode(byte[]) - Method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
- decode(ByteBuffer) - Method in class org.miloss.fgsms.common.codec.Hex
-
Converts a buffer of character bytes representing hexadecimal values into an array of bytes of those same values.
- decode(Object) - Method in class org.miloss.fgsms.common.codec.Hex
-
Converts a String or an array of character bytes representing hexadecimal values into an array of bytes of those
same values.
- decode(String) - Method in interface org.miloss.fgsms.common.codec.StringDecoder
-
Decodes a String and returns a String.
- decodeBase64(String) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Decodes a Base64 String into octets.
- decodeBase64(byte[]) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Decodes Base64 data into octets.
- decodeHex(String) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts a String representing hexadecimal values into an array of bytes of those same values.
- decodeHex(char[]) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
- decodeInteger(byte[]) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Decodes a byte64-encoded integer according to crypto standards such as W3C's XML-Signature.
- Decoder - Interface in org.miloss.fgsms.common.codec
-
Provides the highest level of abstraction for Decoders.
- DecoderException - Exception in org.miloss.fgsms.common.codec
-
Thrown when there is a failure condition during the decoding process.
- DecoderException() - Constructor for exception org.miloss.fgsms.common.codec.DecoderException
-
Constructs a new exception with null
as its detail message.
- DecoderException(String) - Constructor for exception org.miloss.fgsms.common.codec.DecoderException
-
Constructs a new exception with the specified detail message.
- DecoderException(String, Throwable) - Constructor for exception org.miloss.fgsms.common.codec.DecoderException
-
Constructs a new exception with the specified detail message and cause.
- DecoderException(Throwable) - Constructor for exception org.miloss.fgsms.common.codec.DecoderException
-
Constructs a new exception with the specified cause and a detail message of (cause==null ?
null : cause.toString())
(which typically contains the class and detail message of cause
).
- decrypt(AesCbcWithIntegrity.CipherTextIvMac, AesCbcWithIntegrity.SecretKeys) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
AES CBC decrypt.
- decryptString(AesCbcWithIntegrity.CipherTextIvMac, AesCbcWithIntegrity.SecretKeys, String) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
AES CBC decrypt.
- decryptString(AesCbcWithIntegrity.CipherTextIvMac, AesCbcWithIntegrity.SecretKeys) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
AES CBC decrypt.
- DEFAULT_CHARSET - Static variable in class org.miloss.fgsms.common.codec.Hex
-
- DEFAULT_CHARSET_NAME - Static variable in class org.miloss.fgsms.common.codec.Hex
-
- DiscoveryScopeCACPKI - Static variable in class org.miloss.fgsms.common.Constants
-
- DiscoveryScopeUsernamePassword - Static variable in class org.miloss.fgsms.common.Constants
-
- DomainUnspecified - Static variable in class org.miloss.fgsms.common.Constants
-
- EN(String) - Static method in class org.miloss.fgsms.common.AES
-
- EN(String, String) - Static method in class org.miloss.fgsms.common.AES
-
- encode(Object) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Encodes an Object using the Base-N algorithm.
- encode(byte[]) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the alphabet.
- encode(byte[], int, int) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Encodes a byte[] containing binary data, into a byte[] containing
characters in the alphabet.
- encode(byte[]) - Method in class org.miloss.fgsms.common.codec.BinaryCodec
-
Converts an array of raw binary data into an array of ASCII 0 and 1 characters.
- encode(Object) - Method in class org.miloss.fgsms.common.codec.BinaryCodec
-
Converts an array of raw binary data into an array of ASCII 0 and 1 chars.
- encode(byte[]) - Method in interface org.miloss.fgsms.common.codec.BinaryEncoder
-
Encodes a byte array and return the encoded data as a byte array.
- encode(Object) - Method in interface org.miloss.fgsms.common.codec.Encoder
-
Encodes an "Object" and returns the encoded content as an Object.
- encode(byte[]) - Method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of bytes into an array of bytes for the characters representing the hexadecimal values of each
byte in order.
- encode(ByteBuffer) - Method in class org.miloss.fgsms.common.codec.Hex
-
Converts byte buffer into an array of bytes for the characters representing the hexadecimal values of each
byte in order.
- encode(Object) - Method in class org.miloss.fgsms.common.codec.Hex
-
Converts a String or an array of bytes into an array of characters representing the hexadecimal values of each
byte in order.
- encode(String) - Method in interface org.miloss.fgsms.common.codec.StringEncoder
-
Encodes a String and returns a String.
- encodeAsString(byte[]) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Encodes a byte[] containing binary data, into a String containing characters in the appropriate alphabet.
- encodeBase64(byte[]) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64(byte[], boolean) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64(byte[], boolean, boolean) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64(byte[], boolean, boolean, int) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64Chunked(byte[]) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- encodeBase64String(byte[]) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64URLSafe(byte[]) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- encodeBase64URLSafeString(byte[]) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- encodeHex(byte[]) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(ByteBuffer) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts a byte buffer into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(byte[], boolean) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(ByteBuffer, boolean) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts a byte buffer into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(byte[], char[]) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(ByteBuffer, char[]) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts a byte buffer into an array of characters representing the hexadecimal values of each byte in order.
- encodeHexString(byte[]) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of bytes into a String representing the hexadecimal values of each byte in order.
- encodeHexString(byte[], boolean) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts an array of bytes into a String representing the hexadecimal values of each byte in order.
- encodeHexString(ByteBuffer) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts a byte buffer into a String representing the hexadecimal values of each byte in order.
- encodeHexString(ByteBuffer, boolean) - Static method in class org.miloss.fgsms.common.codec.Hex
-
Converts a byte buffer into a String representing the hexadecimal values of each byte in order.
- encodeInteger(BigInteger) - Static method in class org.miloss.fgsms.common.codec.Base64
-
Encodes to a byte64-encoded integer according to crypto standards such as W3C's XML-Signature.
- Encoder - Interface in org.miloss.fgsms.common.codec
-
Provides the highest level of abstraction for Encoders.
- EncoderException - Exception in org.miloss.fgsms.common.codec
-
Thrown when there is a failure condition during the encoding process.
- EncoderException() - Constructor for exception org.miloss.fgsms.common.codec.EncoderException
-
Constructs a new exception with null
as its detail message.
- EncoderException(String) - Constructor for exception org.miloss.fgsms.common.codec.EncoderException
-
Constructs a new exception with the specified detail message.
- EncoderException(String, Throwable) - Constructor for exception org.miloss.fgsms.common.codec.EncoderException
-
Constructs a new exception with the specified detail message and cause.
- EncoderException(Throwable) - Constructor for exception org.miloss.fgsms.common.codec.EncoderException
-
Constructs a new exception with the specified cause and a detail message of (cause==null ?
null : cause.toString())
(which typically contains the class and detail message of cause
).
- encodeToString(byte[]) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Encodes a byte[] containing binary data, into a String containing characters in the Base-N alphabet.
- encrypt(String, AesCbcWithIntegrity.SecretKeys) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
Generates a random IV and encrypts this plain text with the given key.
- encrypt(String, AesCbcWithIntegrity.SecretKeys, String) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
Generates a random IV and encrypts this plain text with the given key.
- encrypt(byte[], AesCbcWithIntegrity.SecretKeys) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
Generates a random IV and encrypts this plain text with the given key.
- EncryptedConnectionFactory - Class in org.miloss.fgsms.tomcat.jdbcp
-
Automagically decrypts passwords for JDBC connections
- EncryptedConnectionFactory() - Constructor for class org.miloss.fgsms.tomcat.jdbcp.EncryptedConnectionFactory
-
- engineGenerateSeed(int) - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.PrngFixes.LinuxPRNGSecureRandom
-
- engineNextBytes(byte[]) - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.PrngFixes.LinuxPRNGSecureRandom
-
- engineSetSeed(byte[]) - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.PrngFixes.LinuxPRNGSecureRandom
-
- ensureBufferSize(int, BaseNCodec.Context) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Ensure that the buffer has room for size
bytes
- equals(Object) - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.CipherTextIvMac
-
- equals(Object) - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.SecretKeys
-
- equals(CharSequence, CharSequence) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Compares two CharSequences, returning true
if they represent equal sequences of characters.
- error(Object) - Method in class org.miloss.fgsms.common.Logger
-
- error(Object, Throwable) - Method in class org.miloss.fgsms.common.Logger
-
- GEN() - Static method in class org.miloss.fgsms.common.AES
-
Generate a new AES 256 bit encryption key.
- GEN(short) - Static method in class org.miloss.fgsms.common.AES
-
Generate a new AES 256 bit encryption key.
- generateIv() - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
Creates a random Initialization Vector (IV) of IV_LENGTH_BYTES.
- generateKey() - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
A function that generates random AES & HMAC keys and prints out exceptions but
doesn't throw them since none should be encountered.
- generateKeyFromPassword(String, byte[]) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
A function that generates password-based AES & HMAC keys.
- generateKeyFromPassword(String, String) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
A function that generates password-based AES & HMAC keys.
- generateMac(byte[], SecretKey) - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
Generate the mac based on HMAC_ALGORITHM
- generateSalt() - Static method in class org.miloss.fgsms.common.AesCbcWithIntegrity
-
Generates a random salt.
- getAdditivity() - Method in class org.miloss.fgsms.common.Logger
-
- getAllAppenders() - Method in class org.miloss.fgsms.common.Logger
-
- getAppender(String) - Method in class org.miloss.fgsms.common.Logger
-
- getByteBufferUtf8(String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a byte buffer using the UTF-8 charset, storing the result into a new byte
array.
- getBytesIso8859_1(String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a sequence of bytes using the ISO-8859-1 charset, storing the result into a new
byte array.
- getBytesUnchecked(String, String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a sequence of bytes using the named charset, storing the result into a new byte
array.
- getBytesUsAscii(String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a sequence of bytes using the US-ASCII charset, storing the result into a new byte
array.
- getBytesUtf16(String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-16 charset, storing the result into a new byte
array.
- getBytesUtf16Be(String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-16BE charset, storing the result into a new byte
array.
- getBytesUtf16Le(String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-16LE charset, storing the result into a new byte
array.
- getBytesUtf8(String) - Static method in class org.miloss.fgsms.common.codec.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-8 charset, storing the result into a new byte
array.
- getChainedPriority() - Method in class org.miloss.fgsms.common.Logger
-
- getCharset() - Method in class org.miloss.fgsms.common.codec.Hex
-
Gets the charset.
- getCharsetName() - Method in class org.miloss.fgsms.common.codec.Hex
-
Gets the charset name.
- getCipherText() - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.CipherTextIvMac
-
- getConfidentialityKey() - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.SecretKeys
-
- getDefaultBufferSize() - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Get the default buffer size.
- getEffectiveLevel() - Method in class org.miloss.fgsms.common.Logger
-
- getEncodedLength(byte[]) - Method in class org.miloss.fgsms.common.codec.BaseNCodec
-
Calculates the amount of space needed to encode the supplied array.
- getIntegrityKey() - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.SecretKeys
-
- getIv() - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.CipherTextIvMac
-
- getLevel() - Method in class org.miloss.fgsms.common.Logger
-
- getLogger(String) - Static method in class org.miloss.fgsms.common.Logger
-
- getLogger(Class) - Static method in class org.miloss.fgsms.common.Logger
-
- getLogger(String, LoggerFactory) - Static method in class org.miloss.fgsms.common.Logger
-
- getMac() - Method in class org.miloss.fgsms.common.AesCbcWithIntegrity.CipherTextIvMac
-
- getName() - Method in class org.miloss.fgsms.common.Logger
-
- getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.miloss.fgsms.tomcat.jdbcp.EncryptedConnectionFactory
-
- getParent() - Method in class org.miloss.fgsms.common.Logger
-
- getPriority() - Method in class org.miloss.fgsms.common.Logger
-
- getResourceBundle() - Method in class org.miloss.fgsms.common.Logger
-
- getRootLogger() - Static method in class org.miloss.fgsms.common.Logger
-
- Undetermineable - Static variable in class org.miloss.fgsms.common.Constants
-
- UNSPECIFIED - Static variable in class org.miloss.fgsms.common.Constants
-
- urlKEY - Static variable in class org.miloss.fgsms.common.Constants
-
- US_ASCII - Static variable in class org.miloss.fgsms.common.codec.CharEncoding
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- US_ASCII - Static variable in class org.miloss.fgsms.common.codec.Charsets
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- UTF_16 - Static variable in class org.miloss.fgsms.common.codec.CharEncoding
-
Sixteen-bit Unicode Transformation Format, The byte order specified by a mandatory initial byte-order mark
(either order accepted on input, big-endian used on output)
- UTF_16 - Static variable in class org.miloss.fgsms.common.codec.Charsets
-
Sixteen-bit Unicode Transformation Format, The byte order specified by a mandatory initial byte-order mark
(either order accepted on input, big-endian used on output)
- UTF_16BE - Static variable in class org.miloss.fgsms.common.codec.CharEncoding
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16BE - Static variable in class org.miloss.fgsms.common.codec.Charsets
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class org.miloss.fgsms.common.codec.CharEncoding
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_16LE - Static variable in class org.miloss.fgsms.common.codec.Charsets
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class org.miloss.fgsms.common.codec.CharEncoding
-
Eight-bit Unicode Transformation Format.
- UTF_8 - Static variable in class org.miloss.fgsms.common.codec.Charsets
-
Eight-bit Unicode Transformation Format.