Home
last modified time | relevance | path

Searched refs:keysize (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/security/spec/
DRSAKeyGenParameterSpec.java44 private int keysize; field in RSAKeyGenParameterSpec
64 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) { in RSAKeyGenParameterSpec() argument
65 this.keysize = keysize; in RSAKeyGenParameterSpec()
75 return keysize; in getKeysize()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyPairGenerator2.java56 public void initialize(int keysize, SecureRandom random) { in initialize() argument
57 if (keysize < 64) { in initialize()
60 keySize = keysize; in initialize()
DMyKeyPairGenerator1.java62 public void initialize(int keysize, SecureRandom random) { in initialize() argument
63 if ((keysize < 0) || ((keysize % 100) != 0)) { in initialize()
69 keySize = keysize; in initialize()
DMyAlgorithmParameterGeneratorSpi.java39 public void engineInit(int keysize, SecureRandom random) { in engineInit() argument
40 if (keysize < 0) { in engineInit()
DMyKeyPairGeneratorSpi.java39 public void initialize(int keysize, SecureRandom random) { in initialize() argument
40 if (keysize < 100) { in initialize()
/libcore/ojluni/src/main/java/java/security/
DKeyPairGenerator.java377 public void initialize(int keysize) { in initialize() argument
378 initialize(keysize, JCAUtil.getSecureRandom()); in initialize()
395 public void initialize(int keysize, SecureRandom random) { in initialize() argument
668 public void initialize(int keysize, SecureRandom random) { in initialize() argument
670 spi.initialize(keysize, random); in initialize()
677 mySpi.initialize(keysize, random); in initialize()
679 initKeySize = keysize; in initialize()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyKeyGeneratorSpi.java54 protected void engineInit(int keysize, SecureRandom random) { in engineInit() argument
55 if (keysize <= 77) { in engineInit()
/libcore/ojluni/src/main/java/javax/crypto/
DKeyGenerator.java565 public final void init(int keysize) { in init() argument
566 init(keysize, JceSecurity.RANDOM); in init()
580 public final void init(int keysize, SecureRandom random) { in init() argument
582 spi.engineInit(keysize, random); in init()
589 mySpi.engineInit(keysize, random); in init()
591 initKeySize = keysize; in init()
DKeyGeneratorSpi.java78 protected abstract void engineInit(int keysize, SecureRandom random); in engineInit() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorSpiTest.java59 protected void engineInit(int keysize, SecureRandom random) { in engineInit() argument
60 super.engineInit(keysize, random); in engineInit()
DKeyGeneratorTest.java124 int keysize = 0; in testKeyGenerator() local
131 keyG.init(keysize, null); in testKeyGenerator()
145 keyG.init(keysize, null); in testKeyGenerator()
/libcore/ojluni/annotations/hiddenapi/java/security/
DKeyPairGenerator.java72 public void initialize(int keysize) { in initialize() argument
76 public void initialize(int keysize, java.security.SecureRandom random) { in initialize() argument
132 public void initialize(int keysize, java.security.SecureRandom random) { in initialize() argument