Class CypherAES
- java.lang.Object
-
- net.wedjaa.ansible.vault.crypto.decoders.implementation.CypherAES
-
- All Implemented Interfaces:
CypherInterface
public class CypherAES extends Object implements CypherInterface
-
-
Constructor Summary
Constructors Constructor Description CypherAES()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]decrypt(byte[] data, String password)voiddecrypt(OutputStream decodedStream, byte[] data, String password)byte[]encrypt(byte[] data, String password)voidencrypt(OutputStream encodedStream, byte[] data, String password)StringinfoLine()
-
-
-
Field Detail
-
CYPHER_ID
public static final String CYPHER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
decrypt
public void decrypt(OutputStream decodedStream, byte[] data, String password) throws IOException
- Specified by:
decryptin interfaceCypherInterface- Throws:
IOException
-
decrypt
public byte[] decrypt(byte[] data, String password) throws IOException- Specified by:
decryptin interfaceCypherInterface- Throws:
IOException
-
encrypt
public void encrypt(OutputStream encodedStream, byte[] data, String password) throws IOException
- Specified by:
encryptin interfaceCypherInterface- Throws:
IOException
-
encrypt
public byte[] encrypt(byte[] data, String password) throws IOException- Specified by:
encryptin interfaceCypherInterface- Throws:
IOException
-
infoLine
public String infoLine()
- Specified by:
infoLinein interfaceCypherInterface
-
-