org.bouncycastle.jce.provider.symmetric.VMPCKSA3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk15 Show documentation
Show all versions of bcprov-jdk15 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5.
The newest version!
package org.bouncycastle.jce.provider.symmetric;
import java.util.HashMap;
import org.bouncycastle.crypto.CipherKeyGenerator;
import org.bouncycastle.crypto.engines.VMPCKSA3Engine;
import org.bouncycastle.jce.provider.JCEKeyGenerator;
import org.bouncycastle.jce.provider.JCEStreamCipher;
public final class VMPCKSA3
{
private VMPCKSA3()
{
}
public static class Base
extends JCEStreamCipher
{
public Base()
{
super(new VMPCKSA3Engine(), 16);
}
}
public static class KeyGen
extends JCEKeyGenerator
{
public KeyGen()
{
super("VMPC-KSA3", 128, new CipherKeyGenerator());
}
}
public static class Mappings
extends HashMap
{
public Mappings()
{
put("Cipher.VMPC-KSA3", "org.bouncycastle.jce.provider.symmetric.VMPCKSA3$Base");
put("KeyGenerator.VMPC-KSA3", "org.bouncycastle.jce.provider.symmetric.VMPCKSA3$KeyGen");
}
}
}