Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 32) sorted by relevance

12

/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
DParametersWithRandom.java11 private CipherParameters parameters; field in ParametersWithRandom
14 CipherParameters parameters, in ParametersWithRandom() argument
18 this.parameters = parameters; in ParametersWithRandom()
22 CipherParameters parameters) in ParametersWithRandom() argument
25 this.parameters = parameters; in ParametersWithRandom()
39 return parameters; in getParameters()
DParametersWithIV.java9 private CipherParameters parameters; field in ParametersWithIV
12 CipherParameters parameters, in ParametersWithIV() argument
15 this(parameters, iv, 0, iv.length); in ParametersWithIV()
19 CipherParameters parameters, in ParametersWithIV() argument
25 this.parameters = parameters; in ParametersWithIV()
37 return parameters; in getParameters()
DParametersWithSalt.java12 private CipherParameters parameters; field in ParametersWithSalt
15 CipherParameters parameters, in ParametersWithSalt() argument
18 this(parameters, salt, 0, salt.length); in ParametersWithSalt()
22 CipherParameters parameters, in ParametersWithSalt() argument
28 this.parameters = parameters; in ParametersWithSalt()
40 return parameters; in getParameters()
DParametersWithSBox.java8 private CipherParameters parameters; field in ParametersWithSBox
12 CipherParameters parameters, in ParametersWithSBox() argument
15 this.parameters = parameters; in ParametersWithSBox()
26 return parameters; in getParameters()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
DAlgorithmIdentifier.java58 private byte[] parameters; field in AlgorithmIdentifier
75 public AlgorithmIdentifier(String algorithm, byte[] parameters) { in AlgorithmIdentifier() argument
76 this(algorithm, parameters, null); in AlgorithmIdentifier()
85 private AlgorithmIdentifier(String algorithm, byte[] parameters, in AlgorithmIdentifier() argument
88 this.parameters = parameters; in AlgorithmIdentifier()
121 return parameters; in getParameters()
141 && ((parameters == null) in equals()
142 ? algid.parameters == null in equals()
143 : Arrays.equals(parameters, algid.parameters)); in equals()
151 if (parameters == null) { in dumpValue()
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
DAlgorithmIdentifier.java16 private DEREncodable parameters; field in AlgorithmIdentifier
66 DEREncodable parameters) in AlgorithmIdentifier() argument
70 this.parameters = parameters; in AlgorithmIdentifier()
87 parameters = seq.getObjectAt(1); in AlgorithmIdentifier()
91 parameters = null; in AlgorithmIdentifier()
102 return parameters; in getParameters()
121 v.add(parameters); in toASN1Object()
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
DCertPathTrustManagerParametersTest.java53 CertPathParameters parameters = new MyCertPathParameters(); in test_ConstructorLjava_security_cert_CertPathParameters() local
55 new CertPathTrustManagerParameters(parameters); in test_ConstructorLjava_security_cert_CertPathParameters()
57 parameters, p.getParameters()); in test_ConstructorLjava_security_cert_CertPathParameters()
81 CertPathParameters parameters = new MyCertPathParameters(); in test_getParameters() local
83 parameters); in test_getParameters()
88 parameters, p.getParameters()); in test_getParameters()
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
DKeyStoreBuilderParameters.java58 public KeyStoreBuilderParameters(List parameters) { in KeyStoreBuilderParameters() argument
60 if (parameters == null) { in KeyStoreBuilderParameters()
63 if (parameters.isEmpty()) { in KeyStoreBuilderParameters()
66 ksbuilders = Collections.unmodifiableList(new ArrayList<KeyStore.Builder>(parameters)); in KeyStoreBuilderParameters()
DCertPathTrustManagerParameters.java39 public CertPathTrustManagerParameters(CertPathParameters parameters) { in CertPathTrustManagerParameters() argument
40 param = (CertPathParameters) parameters.clone(); in CertPathTrustManagerParameters()
/dalvik/libcore/logging/src/main/java/java/util/logging/
DLogRecord.java137 private transient Object[] parameters; field in LogRecord
179 this.parameters = null; in LogRecord()
276 return parameters; in getParameters()
285 public void setParameters(Object[] parameters) { in setParameters() argument
286 this.parameters = parameters; in setParameters()
473 if (null == parameters) { in writeObject()
476 out.writeInt(parameters.length); in writeObject()
477 for (Object element : parameters) { in writeObject()
500 parameters = new Object[length]; in readObject()
501 for (int i = 0; i < parameters.length; i++) { in readObject()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DProtoIdItem.java59 StdTypeList parameters = prototype.getParameterTypes(); in ProtoIdItem() local
60 this.parameterTypes = (parameters.size() == 0) ? null in ProtoIdItem()
61 : new TypeListItem(parameters); in ProtoIdItem()
71 StdTypeList parameters = prototype.getParameterTypes(); in makeShortForm() local
72 int size = parameters.size(); in makeShortForm()
78 sb.append(shortFormCharFor(parameters.getType(i))); in makeShortForm()
/dalvik/libcore/security/src/test/java/tests/targets/security/
DAlgorithmParameterGeneratorTest.java65 AlgorithmParameters parameters = generator.generateParameters(); in testAlgorithmParameterGenerator() local
67 assertNotNull("generated parameters are null", parameters); in testAlgorithmParameterGenerator()
69 helper.test(parameters); in testAlgorithmParameterGenerator()
DCipherHelper.java261 void test(AlgorithmParameters parameters) { in test() argument
285 cipher.init(Cipher.ENCRYPT_MODE, keyPair.getPublic(), parameters); in test()
302 cipher.init(Cipher.DECRYPT_MODE, keyPair.getPrivate(), parameters); in test()
340 void test(AlgorithmParameters parameters) { in test() argument
369 cipher.init(Cipher.ENCRYPT_MODE, key, parameters); in test()
386 cipher.init(Cipher.DECRYPT_MODE, key, parameters); in test()
419 void test(AlgorithmParameters parameters) { in test() argument
431 parameterSpec = parameters.getParameterSpec(parameterSpecClass); in test()
500 void test(AlgorithmParameters parameters) { in test() argument
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
DClientHandshakeImpl.java88 } else if (parameters.getEnableSessionCreation()){ in start()
90 session = new SSLSessionImpl(parameters.getSecureRandom()); in start()
91 session.protocol = ProtocolVersion.getLatestVersion(parameters in start()
105 if (parameters.getEnableSessionCreation()){ in renegotiateNewSession()
107 session = new SSLSessionImpl(parameters.getSecureRandom()); in renegotiateNewSession()
108 session.protocol = ProtocolVersion.getLatestVersion(parameters in renegotiateNewSession()
127 cipher_suites = parameters.getEnabledCipherSuitesMember(); in startSession()
130 clientHello = new ClientHello(parameters.getSecureRandom(), in startSession()
191 String[] enabled = parameters.getEnabledProtocols(); in unwrap()
211 CipherSuite[] enabledSuites = parameters.getEnabledCipherSuitesMember(); in unwrap()
[all …]
DServerHandshakeImpl.java147 if (parameters.getNeedClientAuth()) { in unwrap()
155 parameters.getTrustManager().checkClientTrusted( in unwrap()
207 || (clientCert == null && parameters in unwrap()
230 parameters.getSecureRandom().nextBytes( in unwrap()
295 session.context = parameters.getServerSessionContext(); in unwrap()
297 parameters.getServerSessionContext().putSession(session); in unwrap()
392 if (!parameters.getEnableSessionCreation()) { in processClientHello()
427 if (!parameters.getEnableSessionCreation()) { in processClientHello()
431 session = new SSLSessionImpl(cipher_suite, parameters in processClientHello()
440 serverHello = new ServerHello(parameters.getSecureRandom(), in processClientHello()
[all …]
DAbstractSessionContext.java37 final SSLParameters parameters; field in AbstractSessionContext
49 AbstractSessionContext(SSLParameters parameters, int maximumSize, in AbstractSessionContext() argument
51 this.parameters = parameters; in AbstractSessionContext()
173 return new OpenSSLSessionImpl(sessionData, parameters, host, port,
DServerSessionContext.java48 public ServerSessionContext(SSLParameters parameters, in ServerSessionContext() argument
50 super(parameters, 100, 0); in ServerSessionContext()
DClientSessionContext.java66 public ClientSessionContext(SSLParameters parameters, in ClientSessionContext() argument
68 super(parameters, 10, 0); in ClientSessionContext()
/dalvik/libcore/security/src/test/java/tests/targets/security/cert/
DCertPathBuilderTestPKIX.java71 PKIXBuilderParameters parameters = new PKIXBuilderParameters( in getCertPathParameters() local
73 parameters.addCertStore(certStore); in getCertPathParameters()
74 parameters.setRevocationEnabled(false); in getCertPathParameters()
75 return parameters; in getCertPathParameters()
DCertPathValidatorTestPKIX.java80 PKIXBuilderParameters parameters = new PKIXBuilderParameters(keyStore, in setUp() local
82 parameters.addCertStore(certStore); in setUp()
83 parameters.setRevocationEnabled(false); in setUp()
87 CertPathBuilderResult builderResult = pathBuilder.build(parameters); in setUp()
/dalvik/libcore/security/src/test/java/tests/security/cert/
DCertStore2Test.java52 CertStoreParameters parameters = new MyCertStoreParameters(); in testGetInstanceStringCertStoreParameters() local
54 parameters); in testGetInstanceStringCertStoreParameters()
57 assertNotSame(parameters, certStore.getCertStoreParameters()); in testGetInstanceStringCertStoreParameters()
101 CertStoreParameters parameters = new MyCertStoreParameters(); in testGetInstanceStringCertStoreParametersString() local
103 parameters, CERT_STORE_PROVIDER_NAME); in testGetInstanceStringCertStoreParametersString()
106 assertNotSame(parameters, certStore.getCertStoreParameters()); in testGetInstanceStringCertStoreParametersString()
177 CertStoreParameters parameters = new MyCertStoreParameters(); in testGetInstanceStringCertStoreParametersProvider() local
179 parameters, provider); in testGetInstanceStringCertStoreParametersProvider()
182 assertNotSame(parameters, certStore.getCertStoreParameters()); in testGetInstanceStringCertStoreParametersProvider()
/dalvik/libdex/
DDexProto.c496 pIterator->parameters = in dexParameterIteratorInit()
498 pIterator->parameterCount = (pIterator->parameters == NULL) ? 0 in dexParameterIteratorInit()
499 : pIterator->parameters->size; in dexParameterIteratorInit()
514 u4 idx = dexTypeListGetIdx(pIterator->parameters, cursor); in dexParameterIteratorNextIndex()
DDexProto.h189 const DexTypeList* parameters; member
/dalvik/libcore/junit/src/main/java/junit/framework/
DTestSuite.java190 Class[] parameters= m.getParameterTypes(); in isTestMethod() local
192 return parameters.length == 0 && name.startsWith("test") && returnType.equals(Void.TYPE); in isTestMethod()
/dalvik/dx/src/junit/framework/
DTestSuite.java188 Class[] parameters= m.getParameterTypes(); in isTestMethod() local
190 return parameters.length == 0 && name.startsWith("test") && returnType.equals(Void.TYPE); in isTestMethod()

12