919293949596979899100101
{ return new MD5Digest(); } if (sha224.contains(digestName)) { return new SHA224Digest(); } if (sha256.contains(digestName)) { return new SHA256Digest(); }
9596979899100101102103104105
{ return new SHA224Digest(); } if (sha256.contains(digestName)) { return new SHA256Digest(); } if (sha384.contains(digestName)) { return new SHA384Digest(); }
99100101102103104105106107108109
{ return new SHA256Digest(); } if (sha384.contains(digestName)) { return new SHA384Digest(); } if (sha512.contains(digestName)) { return new SHA512Digest(); }
103104105106107108109110111112
{ return new SHA384Digest(); } if (sha512.contains(digestName)) { return new SHA512Digest(); } return null; }
349350351352353354355
static public class RIPEMD256WithRSAEncryption extends JDKDigestSignature { public RIPEMD256WithRSAEncryption() { super(TeleTrusTObjectIdentifiers.ripemd256, new RIPEMD256Digest(), new PKCS1Encoding(new RSABlindedEngine())); }
358359360361362363364
static public class noneRSA extends JDKDigestSignature { public noneRSA() { super(new NullDigest(), new PKCS1Encoding(new RSABlindedEngine())); }
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); }
576577578579580581582
static public class BrokePBEWithSHAAndDES3Key extends BrokenJCEBlockCipher { public BrokePBEWithSHAAndDES3Key() { super(new CBCBlockCipher(new DESedeEngine()), PKCS12, SHA1, 192, 64); }