Uses of Class
java.math.BigInteger
-
Packages that use BigInteger 软件包 描述 java.awt.image 提供用于创建和修改图像的类。java.math 提供用于执行任意精度整数运算(BigInteger)和任意精度十进制算术(BigDecimal)的类。java.security.cert 提供用于解析和管理证书,证书吊销列表(CRL)和证书路径的类和接口。java.security.interfaces 提供用于生成RSA实验室技术说明PKCS#1中定义的RSA(Rivest,Shamir和Adleman AsymmetricCipher算法)密钥的接口,以及NIST的FIPS-186中定义的DSA(数字签名算法)密钥。java.security.spec 提供关键规范和算法参数规范的类和接口。java.util 包含集合框架,一些国际化支持类,服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,位数组和几个其他实用程序类。javax.crypto.interfaces 为RSA Laboratories的PKCS#3中定义的Diffie-Hellman密钥提供接口。javax.crypto.spec 提供关键规范和算法参数规范的类和接口。javax.management.openmbean 提供开放数据类型和Open MBean描述符类。javax.security.cert 提供公钥证书的类。javax.xml.crypto.dsig.keyinfo 用于解析和处理KeyInfo元素和结构的类。javax.xml.datatype 定义XML / Java类型映射。 -
-
Uses of BigInteger in java.awt.image
Methods in java.awt.image that return BigInteger 变量和类型 方法 描述 BigIntegerIndexColorModel. getValidPixels()返回BigInteger,指示BigInteger中的有效/无效像素。Constructors in java.awt.image with parameters of type BigInteger 构造器 描述 IndexColorModel(int bits, int size, int[] cmap, int start, int transferType, BigInteger validBits)从int阵列构造IndexColorModel,其中每个int由默认RGB颜色模型格式的红色,绿色,蓝色和alpha分量组成。 -
Uses of BigInteger in java.math
Fields in java.math declared as BigInteger 变量和类型 字段 描述 static BigIntegerBigInteger. ONEBigInteger常量一个。static BigIntegerBigInteger. TENBigInteger常数十。static BigIntegerBigInteger. TWOBigInteger常数两个。static BigIntegerBigInteger. ZEROBigInteger常数为零。Methods in java.math that return BigInteger 变量和类型 方法 描述 BigIntegerBigInteger. abs()返回一个BigInteger,其值是此BigInteger的绝对值。BigIntegerBigInteger. add(BigInteger val)返回值为(this + val)的BigInteger。BigIntegerBigInteger. and(BigInteger val)返回值为(this & val)的BigInteger。BigIntegerBigInteger. andNot(BigInteger val)返回值为(this & ~val)的BigInteger。BigIntegerBigInteger. clearBit(int n)返回一个BigInteger,其值等于此BigInteger且指定位已清除。BigIntegerBigInteger. divide(BigInteger val)返回值为(this / val)的BigInteger。BigInteger[]BigInteger. divideAndRemainder(BigInteger val)返回两个BigIntegers的数组,其中包含(this / val)后跟(this % val)。BigIntegerBigInteger. flipBit(int n)返回一个BigInteger,其值等于此BigInteger,并且指定的位被翻转。BigIntegerBigInteger. gcd(BigInteger val)返回一个BigInteger,其值是abs(this)和abs(val)。BigIntegerBigInteger. max(BigInteger val)返回此BigInteger和val。BigIntegerBigInteger. min(BigInteger val)返回此BigInteger和val。BigIntegerBigInteger. mod(BigInteger m)返回一个值为(this mod m的BigInteger。BigIntegerBigInteger. modInverse(BigInteger m)返回BigInteger,其值为(this-1mod m)。BigIntegerBigInteger. modPow(BigInteger exponent, BigInteger m)返回值为(thisexponent mod m)的BigInteger。BigIntegerBigInteger. multiply(BigInteger val)返回值为(this * val)的BigInteger。BigIntegerBigInteger. negate()返回值为(-this)的BigInteger。BigIntegerBigInteger. nextProbablePrime()返回大于此BigInteger的第一个整数,可能是素数。BigIntegerBigInteger. not()返回值为(~this)的BigInteger。BigIntegerBigInteger. or(BigInteger val)返回一个值为(this | val)的BigInteger。BigIntegerBigInteger. pow(int exponent)返回一个值为(thisexponent)的BigInteger。static BigIntegerBigInteger. probablePrime(int bitLength, Random rnd)使用指定的bitLength返回可能为素数的正BigInteger。BigIntegerBigInteger. remainder(BigInteger val)返回值为(this % val)的BigInteger。BigIntegerBigInteger. setBit(int n)返回一个BigInteger,其值等于此BigInteger并设置了指定的位。BigIntegerBigInteger. shiftLeft(int n)返回值为(this << n)的BigInteger。BigIntegerBigInteger. shiftRight(int n)返回值为(this >> n)的BigInteger。BigIntegerBigInteger. sqrt()返回此BigInteger的整数平方根。BigInteger[]BigInteger. sqrtAndRemainder()返回两个BigIntegers的数组,其中包含s的整数平方根this及其余部分this - s*s。BigIntegerBigInteger. subtract(BigInteger val)返回值为(this - val)的BigInteger。BigIntegerBigDecimal. toBigInteger()将BigDecimal转换为BigInteger。BigIntegerBigDecimal. toBigIntegerExact()将BigDecimal转换为BigInteger,检查是否丢失了信息。BigIntegerBigDecimal. unscaledValue()返回BigInteger其值是此BigDecimal的未 缩放值 。static BigIntegerBigInteger. valueOf(long val)返回一个BigInteger,其值等于指定的long。BigIntegerBigInteger. xor(BigInteger val)返回值为(this ^ val)的BigInteger。Methods in java.math with parameters of type BigInteger 变量和类型 方法 描述 BigIntegerBigInteger. add(BigInteger val)返回值为(this + val)的BigInteger。BigIntegerBigInteger. and(BigInteger val)返回值为(this & val)的BigInteger。BigIntegerBigInteger. andNot(BigInteger val)返回一个值为(this & ~val)的BigInteger。intBigInteger. compareTo(BigInteger val)将此BigInteger与指定的BigInteger进行比较。BigIntegerBigInteger. divide(BigInteger val)返回值为(this / val)的BigInteger。BigInteger[]BigInteger. divideAndRemainder(BigInteger val)返回两个BigIntegers的数组,其中包含(this / val)后跟(this % val)。BigIntegerBigInteger. gcd(BigInteger val)返回一个BigInteger,其值是abs(this)和abs(val)。BigIntegerBigInteger. max(BigInteger val)返回此BigInteger和val。BigIntegerBigInteger. min(BigInteger val)返回此BigInteger和val。BigIntegerBigInteger. mod(BigInteger m)返回一个值为(this mod m的BigInteger。BigIntegerBigInteger. modInverse(BigInteger m)返回一个BigInteger,其值为(this-1mod m)。BigIntegerBigInteger. modPow(BigInteger exponent, BigInteger m)返回一个值为(thisexponent mod m)的BigInteger。BigIntegerBigInteger. multiply(BigInteger val)返回值为(this * val)的BigInteger。BigIntegerBigInteger. or(BigInteger val)返回值为(this | val)的BigInteger。BigIntegerBigInteger. remainder(BigInteger val)返回值为(this % val)的BigInteger。BigIntegerBigInteger. subtract(BigInteger val)返回值为(this - val)的BigInteger。BigIntegerBigInteger. xor(BigInteger val)返回值为(this ^ val)的BigInteger。Constructors in java.math with parameters of type BigInteger 构造器 描述 BigDecimal(BigInteger val)将BigInteger翻译成BigDecimal。BigDecimal(BigInteger unscaledVal, int scale)将BigInteger缩放值和int比例转换为BigDecimal。BigDecimal(BigInteger unscaledVal, int scale, MathContext mc)将BigInteger值和int比例转换为BigDecimal,并根据上下文设置进行舍入。BigDecimal(BigInteger val, MathContext mc)根据上下文设置将BigInteger转换为BigDecimal舍入。 -
Uses of BigInteger in java.security.cert
Methods in java.security.cert that return BigInteger 变量和类型 方法 描述 BigIntegerX509CRLSelector. getMaxCRL()返回maxCRLNumber标准。BigIntegerX509CRLSelector. getMinCRL()返回minCRLNumber标准。abstract BigIntegerX509Certificate. getSerialNumber()从证书中获取serialNumber值。BigIntegerX509CertSelector. getSerialNumber()返回serialNumber标准。abstract BigIntegerX509CRLEntry. getSerialNumber()从此X509CRLEntry( userCertificate)获取序列号。Methods in java.security.cert with parameters of type BigInteger 变量和类型 方法 描述 abstract X509CRLEntryX509CRL. getRevokedCertificate(BigInteger serialNumber)获取具有给定证书serialNumber的CRL条目(如果有)。voidX509CRLSelector. setMaxCRLNumber(BigInteger maxCRL)设置maxCRLNumber标准。voidX509CRLSelector. setMinCRLNumber(BigInteger minCRL)设置minCRLNumber标准。voidX509CertSelector. setSerialNumber(BigInteger serial)设置serialNumber标准。 -
Uses of BigInteger in java.security.interfaces
Methods in java.security.interfaces that return BigInteger 变量和类型 方法 描述 BigIntegerRSAMultiPrimePrivateCrtKey. getCrtCoefficient()返回crtCoefficient。BigIntegerRSAPrivateCrtKey. getCrtCoefficient()返回crtCoefficient。BigIntegerDSAParams. getG()返回基数g。BigIntegerRSAKey. getModulus()返回模数。BigIntegerDSAParams. getP()返回素数,p。BigIntegerRSAMultiPrimePrivateCrtKey. getPrimeExponentP()返回primeExponentP。BigIntegerRSAPrivateCrtKey. getPrimeExponentP()返回primeExponentP。BigIntegerRSAMultiPrimePrivateCrtKey. getPrimeExponentQ()返回primeExponentQ。BigIntegerRSAPrivateCrtKey. getPrimeExponentQ()返回primeExponentQ。BigIntegerRSAMultiPrimePrivateCrtKey. getPrimeP()返回primeP。BigIntegerRSAPrivateCrtKey. getPrimeP()返回primeP。BigIntegerRSAMultiPrimePrivateCrtKey. getPrimeQ()返回primeQ。BigIntegerRSAPrivateCrtKey. getPrimeQ()返回primeQ。BigIntegerRSAPrivateKey. getPrivateExponent()返回私有指数。BigIntegerRSAMultiPrimePrivateCrtKey. getPublicExponent()返回公共指数。BigIntegerRSAPrivateCrtKey. getPublicExponent()返回公共指数。BigIntegerRSAPublicKey. getPublicExponent()返回公共指数。BigIntegerDSAParams. getQ()返回次级贷款,q。BigIntegerECPrivateKey. getS()返回私有值S.BigIntegerXECPublicKey. getU()获取该点的u坐标。BigIntegerDSAPrivateKey. getX()返回私钥的值x。BigIntegerDSAPublicKey. getY()返回公钥的值y。 -
Uses of BigInteger in java.security.spec
Fields in java.security.spec declared as BigInteger 变量和类型 字段 描述 static BigIntegerRSAKeyGenParameterSpec. F0公共指数值F0 = 3。static BigIntegerRSAKeyGenParameterSpec. F4公共指数值F4 = 65537。Methods in java.security.spec that return BigInteger 变量和类型 方法 描述 BigIntegerEllipticCurve. getA()返回椭圆曲线的第一个系数a。BigIntegerECPoint. getAffineX()返回仿射x坐标x。BigIntegerECPoint. getAffineY()返回仿射y坐标y。BigIntegerEllipticCurve. getB()返回椭圆曲线的第二个系数b。BigIntegerRSAMultiPrimePrivateCrtKeySpec. getCrtCoefficient()返回crtCoefficient。BigIntegerRSAOtherPrimeInfo. getCrtCoefficient()返回素数的crtCoefficient。BigIntegerRSAPrivateCrtKeySpec. getCrtCoefficient()返回crtCoefficient。BigIntegerRSAOtherPrimeInfo. getExponent()返回素数的指数。BigIntegerDSAParameterSpec. getG()返回基数g。BigIntegerDSAPrivateKeySpec. getG()返回基数g。BigIntegerDSAPublicKeySpec. getG()返回基数g。BigIntegerRSAPrivateKeySpec. getModulus()返回模数。BigIntegerRSAPublicKeySpec. getModulus()返回模数。BigIntegerECParameterSpec. getOrder()返回生成器的顺序。BigIntegerDSAParameterSpec. getP()返回素数p。BigIntegerDSAPrivateKeySpec. getP()返回素数p。BigIntegerDSAPublicKeySpec. getP()返回素数p。BigIntegerECFieldFp. getP()返回此素数有限域的素数p。BigIntegerRSAOtherPrimeInfo. getPrime()返回素数。BigIntegerRSAMultiPrimePrivateCrtKeySpec. getPrimeExponentP()返回primeExponentP。BigIntegerRSAPrivateCrtKeySpec. getPrimeExponentP()返回primeExponentP。BigIntegerRSAMultiPrimePrivateCrtKeySpec. getPrimeExponentQ()返回primeExponentQ。BigIntegerRSAPrivateCrtKeySpec. getPrimeExponentQ()返回primeExponentQ。BigIntegerRSAMultiPrimePrivateCrtKeySpec. getPrimeP()返回primeP。BigIntegerRSAPrivateCrtKeySpec. getPrimeP()返回primeP。BigIntegerRSAMultiPrimePrivateCrtKeySpec. getPrimeQ()返回primeQ。BigIntegerRSAPrivateCrtKeySpec. getPrimeQ()返回primeQ。BigIntegerRSAPrivateKeySpec. getPrivateExponent()返回私有指数。BigIntegerRSAKeyGenParameterSpec. getPublicExponent()返回public-exponent值。BigIntegerRSAMultiPrimePrivateCrtKeySpec. getPublicExponent()返回公共指数。BigIntegerRSAPrivateCrtKeySpec. getPublicExponent()返回公共指数。BigIntegerRSAPublicKeySpec. getPublicExponent()返回公共指数。BigIntegerDSAParameterSpec. getQ()返回子素数q。BigIntegerDSAPrivateKeySpec. getQ()返回子素数q。BigIntegerDSAPublicKeySpec. getQ()返回子素数q。BigIntegerECFieldF2m. getReductionPolynomial()返回一个BigInteger,其第i位对应于多项式基础的归约多项式的第i个系数,或者对于正常基础为零。BigIntegerECPrivateKeySpec. getS()返回私有值S.BigIntegerXECPublicKeySpec. getU()获取该点的u坐标。BigIntegerDSAPrivateKeySpec. getX()返回私钥x。BigIntegerDSAPublicKeySpec. getY()返回公钥y。Constructors in java.security.spec with parameters of type BigInteger 构造器 描述 DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)使用指定的参数值创建新的DSAParameterSpec。DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g)使用指定的参数值创建新的DSAPrivateKeySpec。DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)使用指定的参数值创建新的DSAPublicKeySpec。ECFieldF2m(int m, BigInteger rp)创建椭圆曲线特征2有限域,其具有多项式基的2 ^m元素。ECFieldFp(BigInteger p)使用指定的素数p创建椭圆曲线素数有限域。ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h)根据指定的值创建椭圆曲线域参数。ECPoint(BigInteger x, BigInteger y)从指定的仿射x坐标x创建ECPoint,并仿射y坐标y。ECPrivateKeySpec(BigInteger s, ECParameterSpec params)使用指定的参数值创建新的ECPrivateKeySpec。EllipticCurve(ECField field, BigInteger a, BigInteger b)使用指定的椭圆字段字段和系数a和b创建椭圆曲线。EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed)使用指定的椭圆形字段字段,系数a和b以及用于曲线生成的seed创建椭圆曲线。RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)根据给定的keysize,public-exponent值和null键参数构造一个新的RSAKeyGenParameterSpec对象。RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent, AlgorithmParameterSpec keyParams)根据给定的keysize,public-exponent值和关键参数构造一个新的RSAKeyGenParameterSpec对象。RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo)创建一个新的RSAMultiPrimePrivateCrtKeySpec。RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo, AlgorithmParameterSpec keyParams)使用其他关键参数创建新的RSAMultiPrimePrivateCrtKeySpec。RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)根据PKCS#1中定义的prime,primeExponent和crtCoefficient创建一个新的RSAOtherPrimeInfo。RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)创建一个新的RSAPrivateCrtKeySpec。RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams)使用其他关键参数创建新的RSAPrivateCrtKeySpec。RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)创建一个新的RSAPrivateKeySpec。RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent, AlgorithmParameterSpec params)使用其他关键参数创建新的RSAPrivateKeySpec。RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)创建一个新的RSAPublicKeySpec。RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params)使用其他关键参数创建新的RSAPublicKeySpec。XECPublicKeySpec(AlgorithmParameterSpec params, BigInteger u)使用提供的参数和u坐标构造公钥规范。 -
Uses of BigInteger in java.util
Methods in java.util that return BigInteger 变量和类型 方法 描述 BigIntegerScanner. nextBigInteger()扫描输入的下一个标记为BigInteger。BigIntegerScanner. nextBigInteger(int radix)将输入的下一个标记扫描为BigInteger。 -
Uses of BigInteger in javax.crypto.interfaces
Methods in javax.crypto.interfaces that return BigInteger 变量和类型 方法 描述 BigIntegerDHPrivateKey. getX()返回私有值x。BigIntegerDHPublicKey. getY()返回公共值y。 -
Uses of BigInteger in javax.crypto.spec
Methods in javax.crypto.spec that return BigInteger 变量和类型 方法 描述 BigIntegerDHParameterSpec. getG()返回基本生成器g。BigIntegerDHPrivateKeySpec. getG()返回基本生成器g。BigIntegerDHPublicKeySpec. getG()返回基本生成器g。BigIntegerDHParameterSpec. getP()返回素数模数p。BigIntegerDHPrivateKeySpec. getP()返回素数模数p。BigIntegerDHPublicKeySpec. getP()返回素数模数p。BigIntegerDHPrivateKeySpec. getX()返回私有值x。BigIntegerDHPublicKeySpec. getY()返回公共值y。Constructors in javax.crypto.spec with parameters of type BigInteger 构造器 描述 DHParameterSpec(BigInteger p, BigInteger g)使用素数模数p和基础生成器g构造Diffie-Hellman的参数集。DHParameterSpec(BigInteger p, BigInteger g, int l)构建了的Diffie-Hellman设置,使用质数模数的参数p,基发生器g,并且以位为单位的大小,l,随机指数的(私有值)。DHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g)采用私有值x,素数模数p和基本生成器g。DHPublicKeySpec(BigInteger y, BigInteger p, BigInteger g)采用公共值y,素数模数p和基数生成器g。 -
Uses of BigInteger in javax.management.openmbean
Fields in javax.management.openmbean with type parameters of type BigInteger 变量和类型 字段 描述 static SimpleType<BigInteger>SimpleType. BIGINTEGER描述其Java类名称为java.math.BigInteger值的SimpleType实例。 -
Uses of BigInteger in javax.security.cert
Methods in javax.security.cert that return BigInteger 变量和类型 方法 描述 abstract BigIntegerX509Certificate. getSerialNumber()已过时。从证书中获取serialNumber值。 -
Uses of BigInteger in javax.xml.crypto.dsig.keyinfo
Methods in javax.xml.crypto.dsig.keyinfo that return BigInteger 变量和类型 方法 描述 BigIntegerX509IssuerSerial. getSerialNumber()返回此X509IssuerSerial的序列号。Methods in javax.xml.crypto.dsig.keyinfo with parameters of type BigInteger 变量和类型 方法 描述 abstract X509IssuerSerialKeyInfoFactory. newX509IssuerSerial(String issuerName, BigInteger serialNumber)从指定的X.500颁发者专有名称和序列号创建X509IssuerSerial。 -
Uses of BigInteger in javax.xml.datatype
Methods in javax.xml.datatype that return BigInteger 变量和类型 方法 描述 abstract BigIntegerXMLGregorianCalendar. getEon()返回yearXML Schema 1.0 dateTime数据类型字段的year。abstract BigIntegerXMLGregorianCalendar. getEonAndYear()返回year的XML Schema 1.0 dateTime数据类型字段。Methods in javax.xml.datatype with parameters of type BigInteger 变量和类型 方法 描述 abstract DurationDatatypeFactory. newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)获得的新实例Duration指定Duration为isPositive,年,月,日,时,分,秒。DurationDatatypeFactory. newDurationDayTime(boolean isPositive, BigInteger day, BigInteger hour, BigInteger minute, BigInteger second)创建Duration类型的xdt:dayTimeDuration使用指定的day,hour,minute和second中定义 XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration 。DurationDatatypeFactory. newDurationYearMonth(boolean isPositive, BigInteger year, BigInteger month)创建Duration类型的xdt:yearMonthDuration使用指定year和month中定义 XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration 。abstract XMLGregorianCalendarDatatypeFactory. newXMLGregorianCalendar(BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone)构造函数允许W3C XML Schema 1.0对xsd:dateTime和相关内置数据类型的建议所允许的完整值空间。abstract voidXMLGregorianCalendar. setYear(BigInteger year)设置XSDdateTime年字段的低位和高位分量。
-