edu.vt.middleware.crypt.pbe
Class PKCS12EncryptionScheme
java.lang.Object
edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
edu.vt.middleware.crypt.pbe.AbstractVariableKeySizeEncryptionScheme
edu.vt.middleware.crypt.pbe.PKCS12EncryptionScheme
- All Implemented Interfaces:
- EncryptionScheme
public class PKCS12EncryptionScheme
- extends AbstractVariableKeySizeEncryptionScheme
Implements the password-based encryption scheme in section B of PKCS#12.
- Version:
- $Revision: 1818 $
- Author:
- Middleware Services
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PKCS12EncryptionScheme
public PKCS12EncryptionScheme(SymmetricAlgorithm alg,
DigestAlgorithm digest,
PBEParameter params,
int keyBitLength)
- Creates a new instance with the given parameters.
- Parameters:
alg - Symmetric cipher algorithm used for encryption/decryption.digest - Digest algorithm used for PBE pseudorandom function.params - Key generation function salt and iteration count.keyBitLength - Size of derived keys in bits.
Copyright © 2003-2011 Virginia Tech. All Rights Reserved.