block word digest SHA-1 512 32 160 SHA-256 512 32 256 SHA-384 1024 64 384 SHA-512 1024 64 512
188189190191192193194
static public class ecNR256 extends Signature { public ecNR256() { super(new SHA256Digest(), new ECNRSigner(), new StdDSAEncoder()); }
233234235236237238239
static public class ecCVCDSA256 extends Signature { public ecCVCDSA256() { super(new SHA256Digest(), new ECDSASigner(), new CVCDSAEncoder()); }
155156157158159160161162163164165
{ cipher = new BufferedAsymmetricBlockCipher(new OAEPEncoding(new ElGamalEngine(), new SHA224Digest())); } else if (pad.equals("OAEPWITHSHA256ANDMGF1PADDING")) { cipher = new BufferedAsymmetricBlockCipher(new OAEPEncoding(new ElGamalEngine(), new SHA256Digest())); } else if (pad.equals("OAEPWITHSHA384ANDMGF1PADDING")) { cipher = new BufferedAsymmetricBlockCipher(new OAEPEncoding(new ElGamalEngine(), new SHA384Digest())); }
417418419420421422423
public static class SHA256 extends JCEMac { public SHA256() { super(new HMac(new SHA256Digest())); }
255256257258259260261
static public class SHA256WithRSAEncryption extends JDKDigestSignature { public SHA256WithRSAEncryption() { super("SHA256withRSA", NISTObjectIdentifiers.id_sha256, new SHA256Digest(), new PKCS1Encoding(new RSABlindedEngine())); }
188189190191192193194195196197198
{ cipher = new OAEPEncoding(new RSAEngine(), new SHA224Digest()); } else if (pad.equals("OAEPWITHSHA256ANDMGF1PADDING")) { cipher = new OAEPEncoding(new RSAEngine(), new SHA256Digest()); } else if (pad.equals("OAEPWITHSHA384ANDMGF1PADDING")) { cipher = new OAEPEncoding(new RSAEngine(), new SHA384Digest()); }
208209210211212213214
static public class SHA256withRSA extends JDKPSSSigner { public SHA256withRSA() { super("SHA256withRSAandMGF1", new RSABlindedEngine(), new SHA256Digest()); }
278279280281282283284
static public class dsa256 extends JDKDSASigner { public dsa256() { super("SHA256withDSA", new SHA256Digest(), new DSASigner()); }
332333334335336337338
static public class ecDSA256 extends JDKDSASigner { public ecDSA256() { super("SHA256withECDSA", new SHA256Digest(), new ECDSASigner()); }
378379380381382383384
static public class ecNR256 extends JDKDSASigner { public ecNR256() { super("SHA256withECNR", new SHA256Digest(), new ECNRSigner()); }