Package org.syncany.crypto.specs
Class HmacSha256CipherSpec
- java.lang.Object
-
- org.syncany.crypto.CipherSpec
-
- org.syncany.crypto.specs.HmacSha256CipherSpec
-
public class HmacSha256CipherSpec extends CipherSpec
-
-
Field Summary
-
Fields inherited from class org.syncany.crypto.CipherSpec
ALLOWED_CIPHER_ALGORITHMS
-
-
Constructor Summary
Constructors Constructor Description HmacSha256CipherSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
newCipherInputStream(java.io.InputStream underlyingInputStream, byte[] secretKey, byte[] iv)
java.io.OutputStream
newCipherOutputStream(java.io.OutputStream underlyingOutputStream, byte[] secretKey, byte[] iv)
-
Methods inherited from class org.syncany.crypto.CipherSpec
equals, getAlgorithm, getId, getIvSize, getKeySize, hashCode, needsUnlimitedStrength, toString
-
-
-
-
Constructor Detail
-
HmacSha256CipherSpec
public HmacSha256CipherSpec()
-
-
Method Detail
-
newCipherOutputStream
public java.io.OutputStream newCipherOutputStream(java.io.OutputStream underlyingOutputStream, byte[] secretKey, byte[] iv) throws CipherException
- Specified by:
newCipherOutputStream
in classCipherSpec
- Throws:
CipherException
-
newCipherInputStream
public java.io.InputStream newCipherInputStream(java.io.InputStream underlyingInputStream, byte[] secretKey, byte[] iv) throws CipherException
- Specified by:
newCipherInputStream
in classCipherSpec
- Throws:
CipherException
-
-