public static class Encryption.Context extends Context
| Modifier and Type | Field and Description |
|---|---|
static Encryption.Context |
NONE
The null crypto context
|
| Modifier and Type | Method and Description |
|---|---|
Encryption.Context |
setCipher(Cipher cipher) |
Encryption.Context |
setKey(byte[] key) |
Encryption.Context |
setKey(Key key) |
getCipher, getConf, getKey, getKeyBytes, getKeyBytesHash, getKeyFormat, setConf, toStringpublic static final Encryption.Context NONE
public Encryption.Context setCipher(Cipher cipher)
public Encryption.Context setKey(Key key)
public Encryption.Context setKey(byte[] key)
Copyright © 2014 The Apache Software Foundation. All rights reserved.