public final class DESedeCipher extends javax.crypto.CipherSpi implements AlgorithmStatus
ECB, CFB, OFB,
CBC, PCBC) and padding schemes
(PKCS5Padding, NoPadding).DESCipher| Modifier and Type | Field and Description |
|---|---|
static int |
DES_BLOCK_SIZE |
| Constructor and Description |
|---|
DESedeCipher()
Creates an instance of DESede cipher with default ECB mode and
PKCS5Padding.
|
DESedeCipher(java.lang.String mode,
java.lang.String paddingScheme)
Creates an instance of DESede cipher with the requested mode and
padding.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFipsApproved()
Module identifies if the cryptographic operation (algorithm) is FIPS certified
|
public static final int DES_BLOCK_SIZE
public DESedeCipher()
java.lang.SecurityException - if this constructor fails to authenticate
the JCE framework.public DESedeCipher(java.lang.String mode,
java.lang.String paddingScheme)
throws java.security.NoSuchAlgorithmException,
javax.crypto.NoSuchPaddingException
mode - the cipher modepaddingScheme - the padding mechanismjava.security.NoSuchAlgorithmException - if the required cipher mode is
unavailablejavax.crypto.NoSuchPaddingException - if the required padding mechanism
is unavailablepublic boolean isFipsApproved()
AlgorithmStatusisFipsApproved in interface AlgorithmStatusAlgorithmStatus.isFipsApproved()© Portions Copyright 2003, 2012 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2012, Oracle and/or its affiliates. All rights reserved.