Searched refs:generatePrivate (Results 1 – 17 of 17) 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()
30 key = (RSAPrivateCrtKey) gen.generatePrivate(Util.rsaCrtParam); in setUp()
43 key = (RSAKey) gen.generatePrivate(new RSAPrivateKeySpec(n, d)); in test_getModulus()
160 kf.generatePrivate(priSpec); in testModifiedKeyEncodingTest()285 kf.generatePrivate(privateSpec); in testInvalidSpec()327 kf.generatePrivate(publicSpec); in testInCompatibleSpec()
143 = (DHPrivateKey) kf.generatePrivate(dhPriSpec); in testKeyAttributes()188 = (ECPrivateKey) kf.generatePrivate(ecPriSpec); in testKeyAttributes()225 = (XECPrivateKey) kf.generatePrivate(xdhPriSpec); in testKeyAttributes()
142 PrivateKey priKey = kf.generatePrivate(priSpec); in testKeySpecs()173 PrivateKey priKey = kf.generatePrivate(priSpec); in testEncodedKeySpecs()
597 return kf.generatePrivate( in getPrivate()
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()
244 PrivateKey privateKey = factory.generatePrivate(keySpec); in testGeneratePrivate()269 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()
174 return f.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in readResolve()
402 public final PrivateKey generatePrivate(KeySpec keySpec) in generatePrivate() method in KeyFactory
57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in test_getEncoded()
154 .generatePrivate(spec); in runTest()
186 return keyFac.generatePrivate(pkcs8KeySpec); in buildPKCS8Key()
8110 …method public final java.security.PrivateKey generatePrivate(java.security.spec.KeySpec) throws ja…