public static class

DESede.KeyGenerator

extends JCEKeyGenerator
java.lang.Object
   ↳ javax.crypto.KeyGeneratorSpi
     ↳ org.bouncycastle.jce.provider.JCEKeyGenerator
       ↳ org.bouncycastle.jce.provider.symmetric.DESede.KeyGenerator

Class Overview

DESede - the default for this is to generate a key in a-b-a format that's 24 bytes long but has 16 bytes of key material (the first 8 bytes is repeated as the last 8 bytes). If you give it a size, you'll get just what you asked for.

Summary

[Expand]
Inherited Fields
From class org.bouncycastle.jce.provider.JCEKeyGenerator
Public Constructors
DESede.KeyGenerator()
Protected Methods
SecretKey engineGenerateKey()
void engineInit(int keySize, SecureRandom random)
[Expand]
Inherited Methods
From class org.bouncycastle.jce.provider.JCEKeyGenerator
From class javax.crypto.KeyGeneratorSpi
From class java.lang.Object

Public Constructors

public DESede.KeyGenerator ()

Protected Methods

protected SecretKey engineGenerateKey ()

protected void engineInit (int keySize, SecureRandom random)