Java org.bouncycastle.crypto PBEParametersGenerator fields, constructors, methods, implement or subclass

Example usage for Java org.bouncycastle.crypto PBEParametersGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.bouncycastle.crypto PBEParametersGenerator.

The text is from its open source code.

Subclass

org.bouncycastle.crypto.PBEParametersGenerator has subclasses.
Click this link to see all its subclasses.

Method

CipherParametersgenerateDerivedMacParameters(int keySize)
generate derived parameters for a key of length keySize, specifically for use with a MAC.
CipherParametersgenerateDerivedParameters(int keySize, int ivSize)
generate derived parameters for a key of length keySize, and an initialisation vector (IV) of length ivSize.
CipherParametersgenerateDerivedParameters(int keySize)
generate derived parameters for a key of length keySize.
voidinit(byte[] password, byte[] salt, int iterationCount)
initialise the PBE generator.
byte[]PKCS12PasswordToBytes(char[] password)
converts a password to a byte array according to the scheme in PKCS12 (unicode, big endian, 2 zero pad bytes at the end).
byte[]PKCS5PasswordToBytes(char[] password)
converts a password to a byte array according to the scheme in PKCS5 (ascii, no padding)
byte[]PKCS5PasswordToUTF8Bytes(char[] password)
converts a password to a byte array according to the scheme in PKCS5 (UTF-8, no padding)