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非对称密码算法)密钥以及NIST FIPS-186中定义的DSA(数字签名算法)密钥的接口。java.security.spec 提供关键规范和算法参数规范的类和接口。java.util 包含集合框架,一些国际化支持类,一个服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,一个位数组和几个其他实用程序类。javafx.util.converter 此包用于JavaFX的标准字符串转换器。javax.crypto.interfaces 提供RSA实验室PKCS#3中定义的Diffie-Hellman密钥的接口。javax.crypto.spec 提供关键规范和算法参数规范的类和接口。javax.management.openmbean 提供打开的数据类型和Open MBean描述符类。javax.security.cert 提供公钥证书类。javax.xml.bind 为客户端应用程序提供运行时绑定框架,包括解组,编组和验证功能。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 Modifier and Type 方法 描述 BigInteger
IndexColorModel. getValidPixels()
返回一个BigInteger
,表示BigInteger
映射中有效/无效的像素。Constructors in java.awt.image with parameters of type BigInteger Constructor 描述 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 Modifier and Type Field 描述 static BigInteger
BigInteger. ONE
BigInteger常数。static BigInteger
BigInteger. TEN
BigInteger常数十。static BigInteger
BigInteger. TWO
BigInteger常数二。static BigInteger
BigInteger. ZERO
BigInteger常数为零。Methods in java.math that return BigInteger Modifier and Type 方法 描述 BigInteger
BigInteger. abs()
返回一个BigInteger,它的值是此BigInteger的绝对值。BigInteger
BigInteger. add(BigInteger val)
返回值为(this + val)
的BigInteger。BigInteger
BigInteger. and(BigInteger val)
返回值为(this & val)
的BigInteger。BigInteger
BigInteger. andNot(BigInteger val)
返回值为(this & ~val)
的BigInteger。BigInteger
BigInteger. clearBit(int n)
返回一个BigInteger,其值等于此BigInteger,指定的位被清零。BigInteger
BigInteger. divide(BigInteger val)
返回值为(this / val)
的BigInteger。BigInteger[]
BigInteger. divideAndRemainder(BigInteger val)
返回两个BigInteger的数组,其中包含(this / val)
后跟(this % val)
。BigInteger
BigInteger. flipBit(int n)
返回一个BigInteger,其值等于此BigInteger,指定的位被翻转。BigInteger
BigInteger. gcd(BigInteger val)
返回一个BigInteger,其值是abs(this)
和abs(val)
。BigInteger
BigInteger. max(BigInteger val)
返回此BigInteger和val
。BigInteger
BigInteger. min(BigInteger val)
返回此BigInteger和val
。BigInteger
BigInteger. mod(BigInteger m)
返回值为(this mod m
的BigInteger)。BigInteger
BigInteger. modInverse(BigInteger m)
返回值为(this
-1的BigIntegermod m)
。BigInteger
BigInteger. modPow(BigInteger exponent, BigInteger m)
返回值为(thisexponent mod m)
的BigInteger。BigInteger
BigInteger. multiply(BigInteger val)
返回值为(this * val)
的BigInteger。BigInteger
BigInteger. negate()
返回值为(-this)
的BigInteger。BigInteger
BigInteger. nextProbablePrime()
返回大于此BigInteger
的第一个整数BigInteger
。BigInteger
BigInteger. not()
返回值为(~this)
的BigInteger。BigInteger
BigInteger. or(BigInteger val)
返回值为(this | val)
的BigInteger。BigInteger
BigInteger. pow(int exponent)
返回值为(thisexponent)
的BigInteger。static BigInteger
BigInteger. probablePrime(int bitLength, Random rnd)
返回一个正的BigInteger,它可能是素数,具有指定的位长度。BigInteger
BigInteger. remainder(BigInteger val)
返回值为(this % val)
的BigInteger。BigInteger
BigInteger. setBit(int n)
返回一个BigInteger,其值等于具有指定位集合的BigInteger。BigInteger
BigInteger. shiftLeft(int n)
返回值为(this << n)
的BigInteger。BigInteger
BigInteger. shiftRight(int n)
返回值为(this >> n)
的BigInteger。BigInteger
BigInteger. sqrt()
返回此BigInteger的整数平方根。BigInteger[]
BigInteger. sqrtAndRemainder()
返回两个BigIntegers的数组,它们分别包含s
的整数平方根this
及其余数this - s*s
。BigInteger
BigInteger. subtract(BigInteger val)
返回值为(this - val)
的BigInteger。BigInteger
BigDecimal. toBigInteger()
将此BigDecimal
转换为BigInteger
。BigInteger
BigDecimal. toBigIntegerExact()
将此BigDecimal
转换为BigInteger
,检查丢失的信息。BigInteger
BigDecimal. unscaledValue()
返回一个BigInteger
其值是此BigDecimal
的未 缩放值 。static BigInteger
BigInteger. valueOf(long val)
返回一个BigInteger,其值等于指定的long
。BigInteger
BigInteger. xor(BigInteger val)
返回值为(this ^ val)
的BigInteger。Methods in java.math with parameters of type BigInteger Modifier and Type 方法 描述 BigInteger
BigInteger. add(BigInteger val)
返回值为(this + val)
的BigInteger。BigInteger
BigInteger. and(BigInteger val)
返回值为(this & val)
的BigInteger。BigInteger
BigInteger. andNot(BigInteger val)
返回值为(this & ~val)
的BigInteger。int
BigInteger. compareTo(BigInteger val)
将此BigInteger与指定的BigInteger进行比较。BigInteger
BigInteger. divide(BigInteger val)
返回值为(this / val)
的BigInteger。BigInteger[]
BigInteger. divideAndRemainder(BigInteger val)
返回两个BigInteger的数组,其中包含(this / val)
后跟(this % val)
。BigInteger
BigInteger. gcd(BigInteger val)
返回一个BigInteger,其值是abs(this)
和abs(val)
。BigInteger
BigInteger. max(BigInteger val)
返回此BigInteger和val
。BigInteger
BigInteger. min(BigInteger val)
返回此BigInteger和val
。BigInteger
BigInteger. mod(BigInteger m)
返回值为(this mod m
的BigInteger)。BigInteger
BigInteger. modInverse(BigInteger m)
返回值为(this
-1mod m)
的BigInteger。BigInteger
BigInteger. modPow(BigInteger exponent, BigInteger m)
返回值为(thisexponent mod m)
的BigInteger。BigInteger
BigInteger. multiply(BigInteger val)
返回值为(this * val)
的BigInteger。BigInteger
BigInteger. or(BigInteger val)
返回值为(this | val)
的BigInteger。BigInteger
BigInteger. remainder(BigInteger val)
返回值为(this % val)
的BigInteger。BigInteger
BigInteger. subtract(BigInteger val)
返回值为(this - val)
的BigInteger。BigInteger
BigInteger. xor(BigInteger val)
返回值为(this ^ val)
的BigInteger。Constructors in java.math with parameters of type BigInteger Constructor 描述 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 Modifier and Type 方法 描述 BigInteger
X509CRLSelector. getMaxCRL()
返回maxCRLNumber标准。BigInteger
X509CRLSelector. getMinCRL()
返回minCRLNumber标准。abstract BigInteger
X509Certificate. getSerialNumber()
从证书中获得serialNumber
价值。BigInteger
X509CertSelector. getSerialNumber()
返回serialNumber标准。abstract BigInteger
X509CRLEntry. getSerialNumber()
从这个X509CRLEntry, userCertificate获取序列号。Methods in java.security.cert with parameters of type BigInteger Modifier and Type 方法 描述 abstract X509CRLEntry
X509CRL. getRevokedCertificate(BigInteger serialNumber)
获取给定证书serialNumber的CRL条目(如果有)。void
X509CRLSelector. setMaxCRLNumber(BigInteger maxCRL)
设置maxCRLNumber标准。void
X509CRLSelector. setMinCRLNumber(BigInteger minCRL)
设置minCRLNumber标准。void
X509CertSelector. setSerialNumber(BigInteger serial)
设置serialNumber标准。 -
Uses of BigInteger in java.security.interfaces
Methods in java.security.interfaces that return BigInteger Modifier and Type 方法 描述 BigInteger
RSAMultiPrimePrivateCrtKey. getCrtCoefficient()
返回crtCoefficient。BigInteger
RSAPrivateCrtKey. getCrtCoefficient()
返回crtCoefficient。BigInteger
DSAParams. getG()
返回基地,g
。BigInteger
RSAKey. getModulus()
返回模数。BigInteger
DSAParams. getP()
返回素数,p
。BigInteger
RSAMultiPrimePrivateCrtKey. getPrimeExponentP()
返回primeExponentP。BigInteger
RSAPrivateCrtKey. getPrimeExponentP()
返回primeExponentP。BigInteger
RSAMultiPrimePrivateCrtKey. getPrimeExponentQ()
返回primeExponentQ。BigInteger
RSAPrivateCrtKey. getPrimeExponentQ()
返回primeExponentQ。BigInteger
RSAMultiPrimePrivateCrtKey. getPrimeP()
返回primeP。BigInteger
RSAPrivateCrtKey. getPrimeP()
返回primeP。BigInteger
RSAMultiPrimePrivateCrtKey. getPrimeQ()
返回primeQ。BigInteger
RSAPrivateCrtKey. getPrimeQ()
返回primeQ。BigInteger
RSAPrivateKey. getPrivateExponent()
返回私有指数。BigInteger
RSAMultiPrimePrivateCrtKey. getPublicExponent()
返回公共指数。BigInteger
RSAPrivateCrtKey. getPublicExponent()
返回公共指数。BigInteger
RSAPublicKey. getPublicExponent()
返回公共指数。BigInteger
DSAParams. getQ()
返回次贷,q
。BigInteger
ECPrivateKey. getS()
返回私有值S.BigInteger
DSAPrivateKey. getX()
返回私钥的值,x
。BigInteger
DSAPublicKey. getY()
返回公钥的值,y
。 -
Uses of BigInteger in java.security.spec
Fields in java.security.spec declared as BigInteger Modifier and Type Field 描述 static BigInteger
RSAKeyGenParameterSpec. F0
公众指数值F0 = 3。static BigInteger
RSAKeyGenParameterSpec. F4
公共指数值F4 = 65537。Methods in java.security.spec that return BigInteger Modifier and Type 方法 描述 BigInteger
EllipticCurve. getA()
返回椭圆曲线的第一个系数a
。BigInteger
ECPoint. getAffineX()
返回仿射x坐标x
。BigInteger
ECPoint. getAffineY()
返回仿射y坐标y
。BigInteger
EllipticCurve. getB()
返回椭圆曲线的第二个系数b
。BigInteger
RSAMultiPrimePrivateCrtKeySpec. getCrtCoefficient()
返回crtCoefficient。BigInteger
RSAOtherPrimeInfo. getCrtCoefficient()
返回素数的crtCoefficient。BigInteger
RSAPrivateCrtKeySpec. getCrtCoefficient()
返回crtCoefficient。BigInteger
RSAOtherPrimeInfo. getExponent()
返回素数的指数。BigInteger
DSAParameterSpec. getG()
返回底座g
。BigInteger
DSAPrivateKeySpec. getG()
返回底座g
。BigInteger
DSAPublicKeySpec. getG()
返回底座g
。BigInteger
RSAPrivateKeySpec. getModulus()
返回模数。BigInteger
RSAPublicKeySpec. getModulus()
返回模数。BigInteger
ECParameterSpec. getOrder()
返回发生器的顺序。BigInteger
DSAParameterSpec. getP()
退货p
。BigInteger
DSAPrivateKeySpec. getP()
退货p
。BigInteger
DSAPublicKeySpec. getP()
返回素数p
。BigInteger
ECFieldFp. getP()
返回这个主要有限域的素数p
。BigInteger
RSAOtherPrimeInfo. getPrime()
返回素数。BigInteger
RSAMultiPrimePrivateCrtKeySpec. getPrimeExponentP()
返回primeExponentP。BigInteger
RSAPrivateCrtKeySpec. getPrimeExponentP()
返回primeExponentP。BigInteger
RSAMultiPrimePrivateCrtKeySpec. getPrimeExponentQ()
返回primeExponentQ。BigInteger
RSAPrivateCrtKeySpec. getPrimeExponentQ()
返回primeExponentQ。BigInteger
RSAMultiPrimePrivateCrtKeySpec. getPrimeP()
返回primeP。BigInteger
RSAPrivateCrtKeySpec. getPrimeP()
返回primeP。BigInteger
RSAMultiPrimePrivateCrtKeySpec. getPrimeQ()
返回primeQ。BigInteger
RSAPrivateCrtKeySpec. getPrimeQ()
返回primeQ。BigInteger
RSAPrivateKeySpec. getPrivateExponent()
返回私有指数。BigInteger
RSAKeyGenParameterSpec. getPublicExponent()
返回public-exponent值。BigInteger
RSAMultiPrimePrivateCrtKeySpec. getPublicExponent()
返回公共指数。BigInteger
RSAPrivateCrtKeySpec. getPublicExponent()
返回公共指数。BigInteger
RSAPublicKeySpec. getPublicExponent()
返回公共指数。BigInteger
DSAParameterSpec. getQ()
返回次级q
。BigInteger
DSAPrivateKeySpec. getQ()
返回子素数q
。BigInteger
DSAPublicKeySpec. getQ()
返回子素数q
。BigInteger
ECFieldF2m. getReductionPolynomial()
返回一个BigInteger,其第i个位对应于多项式基础的缩小多项式的第i个系数,或者为正常值,返回null。BigInteger
ECPrivateKeySpec. getS()
返回私有值S.BigInteger
DSAPrivateKeySpec. getX()
返回私钥x
。BigInteger
DSAPublicKeySpec. getY()
返回公钥y
。Constructors in java.security.spec with parameters of type BigInteger Constructor 描述 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
和仿射y坐标y
创建一个y
。ECPrivateKeySpec(BigInteger s, ECParameterSpec params)
用指定的参数值创建一个新的ECPrivateKeySpec。EllipticCurve(ECField field, BigInteger a, BigInteger b)
创建具有指定的椭圆场field
和系数a
和b
的椭圆曲线。EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed)
创建具有指定的椭圆场field
,系数a
和b
以及用于曲线生成的seed
的椭圆曲线。RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
从给定的keysize和public-exponent值构造一个新的RSAParameterSpec
对象。RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo)
创建一个新的RSAMultiPrimePrivateCrtKeySpec
给定在PKCS#1 v2.1中定义的模数,publicExponent,privateExponent,primeP,primeQ,primeExponentP,primeExponentQ,crtCoefficient和otherPrimeInfo。RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
创建一个新的RSAOtherPrimeInfo
给定在PKCS#1中定义的素数,primeExponent和crtCoefficient。RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
创建一个新的RSAPrivateCrtKeySpec
给定在PKCS#1中定义的模数,publicExponent,privateExponent,primeP,primeQ,primeExponentP,primeExponentQ和crtCoefficient。RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
创建一个新的RSAPrivateKeySpec。RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
创建一个新的RSAPublicKeySpec。 -
Uses of BigInteger in java.util
Methods in java.util that return BigInteger Modifier and Type 方法 描述 BigInteger
Scanner. nextBigInteger()
将输入的下一个标记扫描为BigInteger
。BigInteger
Scanner. nextBigInteger(int radix)
将输入的下一个标记扫描为BigInteger
。 -
Uses of BigInteger in javafx.util.converter
Methods in javafx.util.converter that return BigInteger Modifier and Type 方法 描述 BigInteger
BigIntegerStringConverter. fromString(String value)
将提供的字符串转换为由特定转换器定义的对象。Methods in javafx.util.converter with parameters of type BigInteger Modifier and Type 方法 描述 String
BigIntegerStringConverter. toString(BigInteger value)
将提供的对象转换为其字符串形式。 -
Uses of BigInteger in javax.crypto.interfaces
Methods in javax.crypto.interfaces that return BigInteger Modifier and Type 方法 描述 BigInteger
DHPrivateKey. getX()
返回私有值,x
。BigInteger
DHPublicKey. getY()
返回公共值,y
。 -
Uses of BigInteger in javax.crypto.spec
Methods in javax.crypto.spec that return BigInteger Modifier and Type 方法 描述 BigInteger
DHParameterSpec. getG()
返回基本生成器g
。BigInteger
DHPrivateKeySpec. getG()
返回基本生成器g
。BigInteger
DHPublicKeySpec. getG()
返回基本生成器g
。BigInteger
DHParameterSpec. getP()
返回质数模数p
。BigInteger
DHPrivateKeySpec. getP()
返回素数模数p
。BigInteger
DHPublicKeySpec. getP()
返回质数模数p
。BigInteger
DHPrivateKeySpec. getX()
返回私有值x
。BigInteger
DHPublicKeySpec. getY()
返回公开值y
。Constructors in javax.crypto.spec with parameters of type BigInteger Constructor 描述 DHParameterSpec(BigInteger p, BigInteger g)
使用质数模数p
和基本生成器g
构造Diffie-Hellman的参数集。DHParameterSpec(BigInteger p, BigInteger g, int l)
使用素数p
,基本产生器g
和随机指数(私有值)的大小(l
构造Diffie-Hellman的参数集。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 Modifier and Type Field 描述 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 Modifier and Type 方法 描述 abstract BigInteger
X509Certificate. getSerialNumber()
已过时。从证书中获取serialNumber
值。 -
Uses of BigInteger in javax.xml.bind
Methods in javax.xml.bind that return BigInteger Modifier and Type 方法 描述 static BigInteger
DatatypeConverter. parseInteger(String lexicalXSDInteger)
将字符串参数转换为BigInteger值。BigInteger
DatatypeConverterInterface. parseInteger(String lexicalXSDInteger)
将字符串参数转换为BigInteger值。Methods in javax.xml.bind with parameters of type BigInteger Modifier and Type 方法 描述 static String
DatatypeConverter. printInteger(BigInteger val)
将BigInteger值转换为字符串。String
DatatypeConverterInterface. printInteger(BigInteger val)
将BigInteger值转换为字符串。 -
Uses of BigInteger in javax.xml.crypto.dsig.keyinfo
Methods in javax.xml.crypto.dsig.keyinfo that return BigInteger Modifier and Type 方法 描述 BigInteger
X509IssuerSerial. getSerialNumber()
返回此X509IssuerSerial
的序列号。Methods in javax.xml.crypto.dsig.keyinfo with parameters of type BigInteger Modifier and Type 方法 描述 abstract X509IssuerSerial
KeyInfoFactory. newX509IssuerSerial(String issuerName, BigInteger serialNumber)
从指定的X.500发行人可分辨名称和序列号创建X509IssuerSerial
。 -
Uses of BigInteger in javax.xml.datatype
Methods in javax.xml.datatype that return BigInteger Modifier and Type 方法 描述 abstract BigInteger
XMLGregorianCalendar. getEon()
返回year
XML Schema 1.0 dateTime数据类型字段的year
。abstract BigInteger
XMLGregorianCalendar. getEonAndYear()
返回year
的XML Schema 1.0 dateTime数据类型字段。Methods in javax.xml.datatype with parameters of type BigInteger Modifier and Type 方法 描述 abstract Duration
DatatypeFactory. newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)
获取Duration
的新实例,指定Duration
为isPositive,年,月,日,小时,分钟,秒。Duration
DatatypeFactory. 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 。Duration
DatatypeFactory. newDurationYearMonth(boolean isPositive, BigInteger year, BigInteger month)
创建Duration
类型的xdt:yearMonthDuration
使用指定year
和month
中定义 XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration 。abstract XMLGregorianCalendar
DatatypeFactory. 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 void
XMLGregorianCalendar. setYear(BigInteger year)
设置XSDdateTime
年期的低阶和高阶分量。
-