⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gost3410parameters.java

📁 bouncycastle 是一个JAVA安全提供者
💻 JAVA
字号:
package org.bouncycastle.crypto.params;import org.bouncycastle.crypto.CipherParameters;import java.math.BigInteger;public class GOST3410Parameters       implements CipherParameters{        private BigInteger              p;        private BigInteger              q;        private BigInteger              a;        private GOST3410ValidationParameters validation;        public GOST3410Parameters(            BigInteger  p,            BigInteger  q,            BigInteger  a)        {            this.p = p;            this.q = q;            this.a = a;        }        public GOST3410Parameters(            BigInteger              p,            BigInteger              q,            BigInteger              a,            GOST3410ValidationParameters params)        {            this.a = a;            this.p = p;            this.q = q;            this.validation = params;        }        public BigInteger getP()        {            return p;        }        public BigInteger getQ()        {            return q;        }        public BigInteger getA()        {            return a;        }        public GOST3410ValidationParameters getValidationParameters()        {            return validation;        }        public boolean equals(            Object  obj)        {            if (!(obj instanceof GOST3410Parameters))            {                return false;            }            GOST3410Parameters    pm = (GOST3410Parameters)obj;            return (pm.getP().equals(p) && pm.getQ().equals(q) && pm.getA().equals(a));        }    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -