META-INF/
META-INF/MANIFEST.MF
META-INF/plexus/
org/
org/sonatype/
org/sonatype/plexus/
org/sonatype/plexus/components/
org/sonatype/plexus/components/cipher/
META-INF/plexus/components.xml
org/sonatype/plexus/components/cipher/Base64.classBase64.java
package org.sonatype.plexus.components.cipher
public org.sonatype.plexus.components.cipher.Base64 extends java.lang.Object {
static final int CHUNK_SIZE
static final byte[] CHUNK_SEPARATOR
static final int BASELENGTH
static final int LOOKUPLENGTH
static final int EIGHTBIT
static final int SIXTEENBIT
static final int TWENTYFOURBITGROUP
static final int FOURBYTE
static final int SIGN
static final byte PAD
private static byte[] base64Alphabet
private static byte[] lookUpBase64Alphabet
public void ()
public static boolean isBase64 (byte)
byte b
public static boolean isArrayByteBase64 (byte[])
int i
byte[] arrayOctect
int length
public static byte[] encodeBase64 (byte[])
byte[] binaryData
public static byte[] encodeBase64Chunked (byte[])
byte[] binaryData
public java.lang.Object decode (java.lang.Object) throws java.lang.IllegalArgumentException
Object pObject
public byte[] decode (byte[])
byte[] pArray
public static byte[] encodeBase64 (byte[], boolean)
int encodedDataLength
byte val1
byte val2
byte val3
byte k
byte l
byte b1
byte b2
byte b3
int dataIndex
byte val1
byte k
byte b1
byte val1
byte val2
byte l
byte b2
byte[] binaryData
boolean isChunked
int lengthDataBits
int fewerThan24bits
int numberTriplets
byte[] encodedData
int encodedDataLength
int nbrChunks
byte k
byte b1
int dataIndex
int i
int encodedIndex
int nextSeparatorIndex
int chunksSoFar
public static byte[] decodeBase64 (byte[])
int lastData
byte b3
byte b4
byte b1
byte b2
byte b3
byte marker0
byte marker1
int dataIndex
int i
byte[] base64Data
int numberQuadruple
byte[] decodedData
int encodedIndex
static byte[] discardWhitespace (byte[])
int i
byte[] data
byte[] groomedData
int bytesCopied
byte[] packedData
static byte[] discardNonBase64 (byte[])
int i
byte[] data
byte[] groomedData
int bytesCopied
byte[] packedData
public java.lang.Object encode (java.lang.Object) throws java.lang.IllegalArgumentException
Object pObject
public byte[] encode (byte[])
byte[] pArray
static void ()
int i
int i
int i
int i
int i
int i
int j
int i
int j
}
org/sonatype/plexus/components/cipher/DefaultPlexusCipher.classDefaultPlexusCipher.java
package org.sonatype.plexus.components.cipher
public org.sonatype.plexus.components.cipher.DefaultPlexusCipher extends org.codehaus.plexus.logging.AbstractLogEnabled implements org.sonatype.plexus.components.cipher.PlexusCipher {
private static final java.util.regex.Pattern ENCRYPTED_STRING_PATTERN
private final org.sonatype.plexus.components.cipher.PBECipher _cipher
public void () throws org.sonatype.plexus.components.cipher.PlexusCipherException
public java.lang.String encrypt (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
String str
String passPhrase
public java.lang.String encryptAndDecorate (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
String str
String passPhrase
public java.lang.String decrypt (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
String str
String passPhrase
public java.lang.String decryptDecorated (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
String str
String passPhrase
public boolean isEncryptedString (java.lang.String)
String str
java.util.regex.Matcher matcher
public java.lang.String unDecorate (java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
String str
java.util.regex.Matcher matcher
public java.lang.String decorate (java.lang.String)
String str
public static java.lang.String[] getServiceTypes ()
String key
int ix
java.util.Iterator it
java.util.Set keys
int i
java.util.Set result
java.security.Provider[] providers
public static java.lang.String[] getCryptoImpls (java.lang.String)
String key
java.util.Iterator it
java.util.Set keys
int i
String serviceType
java.util.Set result
java.security.Provider[] providers
public static void main (java.lang.String[])
String provider
int j
String serviceType
String[] serviceProviders
int i
String[] args
String[] serviceTypes
static void ()
}
org/sonatype/plexus/components/cipher/PBECipher.classPBECipher.java
package org.sonatype.plexus.components.cipher
public org.sonatype.plexus.components.cipher.PBECipher extends java.lang.Object {
protected static final String STRING_ENCODING
protected static final int SPICE_SIZE
protected static final int SALT_SIZE
protected static final int CHUNK_SIZE
protected static final byte WIPER
protected static final String DIGEST_ALG
protected static final String KEY_ALG
protected static final String CIPHER_ALG
protected static int PBE_ITERATIONS
protected java.security.MessageDigest _digester
protected java.security.SecureRandom _secureRandom
protected boolean _onLinux
public void () throws org.sonatype.plexus.components.cipher.PlexusCipherException
java.security.NoSuchAlgorithmException e
private byte[] getSalt (int) throws java.security.NoSuchAlgorithmException java.security.NoSuchProviderException
java.util.Random r
int sz
byte[] res
public java.lang.String encrypt64 (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
byte[] clearBytes
byte[] salt
javax.crypto.Cipher cipher
byte[] encryptedBytes
int len
byte padLen
int totalLen
byte[] allEncryptedBytes
byte[] encryptedTextBytes
String encryptedText
Exception e
String clearText
String password
public java.lang.String decrypt64 (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
byte[] allEncryptedBytes
int totalLen
byte[] salt
byte padLen
byte[] encryptedBytes
javax.crypto.Cipher cipher
byte[] clearBytes
String clearText
Exception e
String encryptedText
String password
private javax.crypto.Cipher createCipher (byte[], byte[], int) throws java.security.NoSuchAlgorithmException javax.crypto.NoSuchPaddingException java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
byte[] b
int stillNeed
byte[] result
byte[] pwdAsBytes
byte[] salt
int mode
byte[] keyAndIv
int currentPos
byte[] key
byte[] iv
javax.crypto.Cipher cipher
static void ()
}
org/sonatype/plexus/components/cipher/PlexusCipher$1.classPlexusCipher.java
package org.sonatype.plexus.components.cipher
org.sonatype.plexus.components.cipher.PlexusCipher$1 extends java.lang.Object {
static Class class$org$sonatype$plexus$components$cipher$PlexusCipher
static java.lang.Class class$ (java.lang.String)
ClassNotFoundException x1
String x0
}
org/sonatype/plexus/components/cipher/PlexusCipher.classPlexusCipher.java
package org.sonatype.plexus.components.cipher
public abstract org.sonatype.plexus.components.cipher.PlexusCipher extends java.lang.Object {
public static final String ROLE
public static final char ENCRYPTED_STRING_DECORATION_START
public static final char ENCRYPTED_STRING_DECORATION_STOP
public abstract java.lang.String encrypt (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
public abstract java.lang.String encryptAndDecorate (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
public abstract java.lang.String decrypt (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
public abstract java.lang.String decryptDecorated (java.lang.String, java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
public abstract boolean isEncryptedString (java.lang.String)
public abstract java.lang.String unDecorate (java.lang.String) throws org.sonatype.plexus.components.cipher.PlexusCipherException
public abstract java.lang.String decorate (java.lang.String)
static void ()
}
org/sonatype/plexus/components/cipher/PlexusCipherException.classPlexusCipherException.java
package org.sonatype.plexus.components.cipher
public org.sonatype.plexus.components.cipher.PlexusCipherException extends java.lang.Exception {
public void ()
public void (java.lang.String)
String message
public void (java.lang.Throwable)
Throwable cause
public void (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
META-INF/maven/
META-INF/maven/org.sonatype.plexus/
META-INF/maven/org.sonatype.plexus/plexus-cipher/
META-INF/maven/org.sonatype.plexus/plexus-cipher/pom.xml
META-INF/maven/org.sonatype.plexus/plexus-cipher/pom.properties