Package org.bouncycastle.crypto.digests

Examples of org.bouncycastle.crypto.digests.SHA384Digest


        {
            return new SHA256Digest();
        }
        if (sha384.contains(digestName))
        {
            return new SHA384Digest();
        }
        if (sha512.contains(digestName))
        {
            return new SHA512Digest();
        }
View Full Code Here


        {
            cipher = new OAEPEncoding(new RSAEngine(), new SHA256Digest());
        }
        else if (pad.equals("OAEPWITHSHA384ANDMGF1PADDING"))
        {
            cipher = new OAEPEncoding(new RSAEngine(), new SHA384Digest());
        }
        else if (pad.equals("OAEPWITHSHA512ANDMGF1PADDING"))
        {
            cipher = new OAEPEncoding(new RSAEngine(), new SHA512Digest());
        }
View Full Code Here

    static public class SHA384withRSA
        extends JDKPSSSigner
    {
        public SHA384withRSA()
        {
            super("SHA384withRSA/PSS", new RSAEngine(), new SHA384Digest());
        }
View Full Code Here

        {
            cipher = new BufferedAsymmetricBlockCipher(new OAEPEncoding(new ElGamalEngine(), new SHA256Digest()));
        }
        else if (pad.equals("OAEPWITHSHA384ANDMGF1PADDING"))
        {
            cipher = new BufferedAsymmetricBlockCipher(new OAEPEncoding(new ElGamalEngine(), new SHA384Digest()));
        }
        else if (pad.equals("OAEPWITHSHA512ANDMGF1PADDING"))
        {
            cipher = new BufferedAsymmetricBlockCipher(new OAEPEncoding(new ElGamalEngine(), new SHA512Digest()));
        }
View Full Code Here

    static public class ecDSA384
        extends JDKDSASigner
    {
        public ecDSA384()
        {
            super("SHA384withECDSA", new SHA384Digest(), new ECDSASigner());
        }
View Full Code Here

    static public class ecNR384
        extends JDKDSASigner
    {
        public ecNR384()
        {
            super("SHA384withECNR", new SHA384Digest(), new ECNRSigner());
        }
View Full Code Here

    static public class ecDSA384
        extends JDKDSASigner
    {
        public ecDSA384()
        {
            super("SHA384withECDSA", new SHA384Digest(), new ECDSASigner());
        }
View Full Code Here

    static public class ecNR384
        extends JDKDSASigner
    {
        public ecNR384()
        {
            super("SHA384withECNR", new SHA384Digest(), new ECNRSigner());
        }
View Full Code Here

        {
            return new SHA256Digest();
        }
        if (sha384.contains(digestName))
        {
            return new SHA384Digest();
        }
        if (sha512.contains(digestName))
        {
            return new SHA512Digest();
        }
View Full Code Here

        case HashAlgorithmTags.SHA224:
            return new SHA224Digest();
        case HashAlgorithmTags.SHA256:
            return new SHA256Digest();
        case HashAlgorithmTags.SHA384:
            return new SHA384Digest();
        case HashAlgorithmTags.SHA512:
            return new SHA512Digest();
        case HashAlgorithmTags.MD2:
            return new MD2Digest();
        case HashAlgorithmTags.MD5:
View Full Code Here

TOP

Related Classes of org.bouncycastle.crypto.digests.SHA384Digest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.