| java.lang.Object org.bouncycastle.crypto.engines.DESedeWrapEngine
DESedeWrapEngine | public class DESedeWrapEngine implements Wrapper(Code) | | Wrap keys according to
draft-ietf-smime-key-wrap-01.txt.
Note:
- this is based on a draft, and as such is subject to change - don't use this class for anything requiring long term storage.
- if you are using this to wrap triple-des keys you need to set the
parity bits on the key and, if it's a two-key triple-des key, pad it
yourself.
|
getAlgorithmName | public String getAlgorithmName()(Code) | | Method getAlgorithmName
the algorithm name "DESede". |
init | public void init(boolean forWrapping, CipherParameters param)(Code) | | Method init
Parameters: forWrapping - Parameters: param - |
wrap | public byte[] wrap(byte[] in, int inOff, int inLen)(Code) | | Method wrap
Parameters: in - Parameters: inOff - Parameters: inLen - the wrapped bytes. |
|
|