Searched refs:generatePrivate (Results 1 – 12 of 12) sorted by relevance
632 keys[0] = kf.generatePrivate(new PKCS8EncodedKeySpec(keyBytes)); in init()633 keys[1] = kf.generatePrivate(new PKCS8EncodedKeySpec(key2Bytes)); in init()634 keys[2] = kf.generatePrivate(new PKCS8EncodedKeySpec(key3Bytes)); in init()647 keys[0] = kf.generatePrivate(new PKCS8EncodedKeySpec(keyBytes)); in init()
35 RSAPrivateKey key = (RSAPrivateKey) gen.generatePrivate(new RSAPrivateKeySpec( in test_getPrivateExponent()
43 key = (RSAKey) gen.generatePrivate(new RSAPrivateKeySpec(n, d)); in test_getModulus()
30 key = (RSAPrivateCrtKey) gen.generatePrivate(Util.rsaCrtParam); in setUp()
597 return kf.generatePrivate( in getPrivate()
178 return f.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in readResolve()
390 public final PrivateKey generatePrivate(KeySpec keySpec) in generatePrivate() method in KeyFactory
124 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); in test_generatePrivateLjava_security_spec_KeySpec()128 … privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded())); in test_generatePrivateLjava_security_spec_KeySpec()247 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
240 PrivateKey privateKey = factory.generatePrivate(keySpec); in testGeneratePrivate()265 factory.generatePrivate(keySpec); in testGeneratePrivate()
666 PrivateKey privateKey1 = KeyFactory.getInstance(type).generatePrivate( in test_getCreationDate()759 KeyFactory.getInstance(type).generatePrivate( in test_getEntry()809 KeyFactory.getInstance(type).generatePrivate( in test_setEntry()
57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in test_getEncoded()
186 return keyFac.generatePrivate(pkcs8KeySpec); in buildPKCS8Key()