Searched refs:bitLength (Results 1 – 7 of 7) sorted by relevance
402 int bitLength = 0; in getSuiteBCipherFromCert() local417 bitLength = rsaPublicKey.getModulus().bitLength(); in getSuiteBCipherFromCert()418 if (bitLength >= 3072) { in getSuiteBCipherFromCert()432 bitLength = ecParameterSpec.getOrder().bitLength(); in getSuiteBCipherFromCert()433 if (bitLength >= 384) { in getSuiteBCipherFromCert()443 + " bit length: " + bitLength); in getSuiteBCipherFromCert()
80 final int bitLength = (ip instanceof Inet4Address) in ipAddressAsPrefix() local83 return new IpPrefix(ip, bitLength); in ipAddressAsPrefix()
61 if (bigInteger.bitLength() % 8 == 0) { in bigIntegerToUnsignedByteArray()
187 protected static byte[] getKey(int bitLength) { in getKey() argument188 if (bitLength % 8 != 0) { in getKey()189 throw new IllegalArgumentException("Invalid key length in bits" + bitLength); in getKey()191 return getKeyBytes(bitLength / 8); in getKey()
97 int keySizeBytes = (privateKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) in getBytesFromP256PrivateKey()115 (publicKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) / Byte.SIZE; in getBytesFromP256PublicKey()
179 final int bytesExcludingSign = (int) Math.ceil(contribution.getKey().bitLength() / 8d); in encodeWithCbor()
1936 && rsaPublicKey.getModulus().bitLength() >= 3072) { in isSuiteBCipherCert()1947 && ecParameterSpec.getOrder().bitLength() >= 384) { in isSuiteBCipherCert()