458459460461462463464
public static class HMACSHA1 extends JCEKeyGenerator { public HMACSHA1() { super("HMACSHA1", 160, new CipherKeyGenerator()); }
470471472473474475476
public static class HMACSHA224 extends JCEKeyGenerator { public HMACSHA224() { super("HMACSHA224", 224, new CipherKeyGenerator()); }
482483484485486487488
public static class HMACSHA256 extends JCEKeyGenerator { public HMACSHA256() { super("HMACSHA256", 256, new CipherKeyGenerator()); }
494495496497498499500
public static class HMACSHA384 extends JCEKeyGenerator { public HMACSHA384() { super("HMACSHA384", 384, new CipherKeyGenerator()); }
506507508509510511512
public static class HMACSHA512 extends JCEKeyGenerator { public HMACSHA512() { super("HMACSHA512", 512, new CipherKeyGenerator()); }
518519520521522523524
public static class HMACTIGER extends JCEKeyGenerator { public HMACTIGER() { super("HMACTIGER", 192, new CipherKeyGenerator()); }
222223224225226227228229230231232
Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { CipherParameters param; // // a note on iv's - if ivLength is zero the IV gets ignored (we don't use it). // if (key instanceof JCEPBEKey)
75767778798081
public static class RFC3211Wrap extends WrapCipherSpi { public RFC3211Wrap() { super(new RFC3211WrapEngine(new AESEngine()), 16); }
552553554555556557558
static public class BrokePBEWithMD5AndDES extends BrokenJCEBlockCipher { public BrokePBEWithMD5AndDES() { super(new CBCBlockCipher(new DESEngine()), PKCS5S1, MD5, 64, 64); }
564565566567568569570
static public class BrokePBEWithSHA1AndDES extends BrokenJCEBlockCipher { public BrokePBEWithSHA1AndDES() { super(new CBCBlockCipher(new DESEngine()), PKCS5S1, SHA1, 64, 64); }