Searched refs:rsaPublicKey (Results 1 – 2 of 2) sorted by relevance
109 RSAPublicKey rsaPublicKey = (RSAPublicKey) keyPair.getPublic(); in generateSignature() local111 new RSAKeyParameters(false, rsaPublicKey.getModulus(), in generateSignature()112 rsaPublicKey.getPublicExponent())); in generateSignature()
685 RSAPublicKey rsaPublicKey = Asn1BerParser.parse(subjectPublicKeyBuffer, in encodePublicKey() local689 if (rsaPublicKey.modulus.compareTo(BigInteger.ZERO) < 0) { in encodePublicKey()693 byte[] encodedModulus = rsaPublicKey.modulus.toByteArray(); in encodePublicKey()698 rsaPublicKey.modulus = new BigInteger(reencodedModulus); in encodePublicKey()702 byte[] reencodedRSAPublicKey = Asn1DerEncoder.encode(rsaPublicKey); in encodePublicKey()