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)
void
decrypt(OutputStream decodedStream, byte[] data, String password)
byte[]
encrypt(byte[] data, String password)
void
encrypt(OutputStream encodedStream, byte[] data, String password)
String
infoLine()
-
-
-
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:
decrypt
in interfaceCypherInterface
- Throws:
IOException
-
decrypt
public byte[] decrypt(byte[] data, String password) throws IOException
- Specified by:
decrypt
in interfaceCypherInterface
- Throws:
IOException
-
encrypt
public void encrypt(OutputStream encodedStream, byte[] data, String password) throws IOException
- Specified by:
encrypt
in interfaceCypherInterface
- Throws:
IOException
-
encrypt
public byte[] encrypt(byte[] data, String password) throws IOException
- Specified by:
encrypt
in interfaceCypherInterface
- Throws:
IOException
-
infoLine
public String infoLine()
- Specified by:
infoLine
in interfaceCypherInterface
-
-