Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
B
- Base64 - Class in org.sonatype.plexus.components.cipher
-
Provides Base64 encoding and decoding as defined by RFC 2045.
- Base64() - Constructor for class org.sonatype.plexus.components.cipher.Base64
- base64Alphabet - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Contains the Base64 values
0
through63
accessed by using character encodings as indices. - BASELENGTH - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
The base length.
C
- CHUNK_SEPARATOR - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Chunk separator per RFC 2045 section 2.1.
- CHUNK_SIZE - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Chunk size per RFC 2045 section 6.8.
- CHUNK_SIZE - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
- CIPHER_ALG - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
- createCipher(byte[], byte[], int) - Method in class org.sonatype.plexus.components.cipher.PBECipher
D
- decode(byte[]) - Method in class org.sonatype.plexus.components.cipher.Base64
-
Decodes a byte[] containing containing characters in the Base64 alphabet.
- decode(Object) - Method in class org.sonatype.plexus.components.cipher.Base64
-
Decodes an Object using the base64 algorithm.
- decodeBase64(byte[]) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Decodes Base64 data into octects
- decorate(String) - Method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- decorate(String) - Method in interface org.sonatype.plexus.components.cipher.PlexusCipher
-
decorated given string with { and }
- decrypt(String, String) - Method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- decrypt(String, String) - Method in interface org.sonatype.plexus.components.cipher.PlexusCipher
-
decrypt given base64 encrypted string
- decrypt64(String, String) - Method in class org.sonatype.plexus.components.cipher.PBECipher
- decryptDecorated(String, String) - Method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- decryptDecorated(String, String) - Method in interface org.sonatype.plexus.components.cipher.PlexusCipher
-
decrypt given base64 encoded encrypted string.
- DefaultPlexusCipher - Class in org.sonatype.plexus.components.cipher
-
Default implementation of
PlexusCipher
. - DefaultPlexusCipher() - Constructor for class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- DIGEST_ALG - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
- discardNonBase64(byte[]) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Discards any characters outside of the base64 alphabet, per the requirements on page 25 of RFC 2045 - "Any characters outside of the base64 alphabet are to be ignored in base64 encoded data."
- discardWhitespace(byte[]) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Discards any whitespace from a base-64 encoded block.
E
- EIGHTBIT - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Used to calculate the number of bits in a byte.
- encode(byte[]) - Method in class org.sonatype.plexus.components.cipher.Base64
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
- encode(Object) - Method in class org.sonatype.plexus.components.cipher.Base64
-
Encodes an Object using the base64 algorithm.
- encodeBase64(byte[]) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64(byte[], boolean) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64Chunked(byte[]) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- encrypt(String, String) - Method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- encrypt(String, String) - Method in interface org.sonatype.plexus.components.cipher.PlexusCipher
-
encrypt given string with the given passPhrase and encode it into base64
- encrypt64(String, String) - Method in class org.sonatype.plexus.components.cipher.PBECipher
- encryptAndDecorate(String, String) - Method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- encryptAndDecorate(String, String) - Method in interface org.sonatype.plexus.components.cipher.PlexusCipher
-
encrypt given string with the given passPhrase, encode it into base64 and return result, wrapped into { } decorations
- ENCRYPTED_STRING_DECORATION_START - Static variable in interface org.sonatype.plexus.components.cipher.PlexusCipher
- ENCRYPTED_STRING_DECORATION_STOP - Static variable in interface org.sonatype.plexus.components.cipher.PlexusCipher
- ENCRYPTED_STRING_PATTERN - Static variable in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
F
- FOURBYTE - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Used to get the number of Quadruples.
G
- getCryptoImpls(String) - Static method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
-
This method returns the available implementations for a service type
- getSalt(int) - Method in class org.sonatype.plexus.components.cipher.PBECipher
- getServiceTypes() - Static method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
-
Exploratory part.
I
- isArrayByteBase64(byte[]) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
- isBase64(byte) - Static method in class org.sonatype.plexus.components.cipher.Base64
-
Returns whether or not the
octect
is in the base 64 alphabet. - isEncryptedString(String) - Method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- isEncryptedString(String) - Method in interface org.sonatype.plexus.components.cipher.PlexusCipher
-
check if given string is decorated
K
L
- lookUpBase64Alphabet - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Contains the Base64 encodings
A
throughZ
, followed bya
throughz
, followed by0
through9
, followed by+
, and/
. - LOOKUPLENGTH - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Lookup length.
M
- main(String[]) - Static method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
O
- org.sonatype.plexus.components.cipher - package org.sonatype.plexus.components.cipher
P
- PAD - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Byte used to pad output.
- PBE_ITERATIONS - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
- PBECipher - Class in org.sonatype.plexus.components.cipher
-
This class is thread-safe.
- PBECipher() - Constructor for class org.sonatype.plexus.components.cipher.PBECipher
- PlexusCipher - Interface in org.sonatype.plexus.components.cipher
- PlexusCipherException - Exception in org.sonatype.plexus.components.cipher
- PlexusCipherException() - Constructor for exception org.sonatype.plexus.components.cipher.PlexusCipherException
- PlexusCipherException(String) - Constructor for exception org.sonatype.plexus.components.cipher.PlexusCipherException
- PlexusCipherException(String, Throwable) - Constructor for exception org.sonatype.plexus.components.cipher.PlexusCipherException
- PlexusCipherException(Throwable) - Constructor for exception org.sonatype.plexus.components.cipher.PlexusCipherException
S
- SALT_SIZE - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
- SIGN - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Used to test the sign of a byte.
- SIXTEENBIT - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Used when encoding something which has fewer than 24 bits.
- SPICE_SIZE - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
- STRING_ENCODING - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
T
- TWENTYFOURBITGROUP - Static variable in class org.sonatype.plexus.components.cipher.Base64
-
Used to determine how many bits data contains.
U
- unDecorate(String) - Method in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- unDecorate(String) - Method in interface org.sonatype.plexus.components.cipher.PlexusCipher
-
return string inside decorations
W
_
- _cipher - Variable in class org.sonatype.plexus.components.cipher.DefaultPlexusCipher
- _secureRandom - Static variable in class org.sonatype.plexus.components.cipher.PBECipher
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form