Package org.jasypt.contrib.org.apache.commons.codec_1_3.binary

Examples of org.jasypt.contrib.org.apache.commons.codec_1_3.binary.Base64


     * @throws DecoderException if the parameter supplied is not
     *                          of type byte[]
     */
    public Object decode(Object pObject) throws DecoderException {
        if (!(pObject instanceof byte[])) {
            throw new DecoderException("Parameter supplied to Base64 decode is not a byte[]");
        }
        return decode((byte[]) pObject);
    }
View Full Code Here


     * @throws EncoderException if the parameter supplied is not
     *                          of type byte[]
     */
    public Object encode(Object pObject) throws EncoderException {
        if (!(pObject instanceof byte[])) {
            throw new EncoderException(
                "Parameter supplied to Base64 encode is not a byte[]");
        }
        return encode((byte[]) pObject);
    }
View Full Code Here

     * Creates a new instance of <tt>StandardStringDigester</tt>.
     */
    public StandardStringDigester() {
        super();
        this.byteDigester = new StandardByteDigester();
        this.base64 = new Base64();
    }
View Full Code Here

     * the specified byte digester (constructor used for cloning)
     */
    private StandardStringDigester(final StandardByteDigester standardByteDigester) {
        super();
        this.byteDigester = standardByteDigester;
        this.base64 = new Base64();
    }
View Full Code Here

     * Creates a new instance of <tt>StandardPBEStringEncryptor</tt>.
     */
    public StandardPBEStringEncryptor() {
        super();
        this.byteEncryptor = new StandardPBEByteEncryptor();
        this.base64 = new Base64();
    }
View Full Code Here

     * the specified byte encryptor (constructor used for cloning)
     */
    private StandardPBEStringEncryptor(final StandardPBEByteEncryptor standardPBEByteEncryptor) {
        super();
        this.byteEncryptor = standardPBEByteEncryptor;
        this.base64 = new Base64();
    }
View Full Code Here

TOP

Related Classes of org.jasypt.contrib.org.apache.commons.codec_1_3.binary.Base64

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.