Home
last modified time | relevance | path

Searched refs:getParameters (Results 1 – 25 of 107) sorted by relevance

12345

/external/oauth/core/src/main/java/net/oauth/
DOAuthProblemException.java59 Object response = getParameters().get(HttpMessage.RESPONSE); in getMessage()
82 getParameters().put(name, value); in setParameter()
85 public Map<String, Object> getParameters() { in getParameters() method in OAuthProblemException
90 return (String) getParameters().get(OAUTH_PROBLEM); in getProblem()
94 Object code = getParameters().get(HttpResponseMessage.STATUS_CODE); in getHttpStatusCode()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLoggerTest.java973 assertSame(r.getParameters(), null); in testThrowing_Normal()
1001 assertSame(r.getParameters(), null); in testThrowing_Null()
1021 assertSame(r.getParameters(), null); in testEntering_StringString_Normal()
1049 assertSame(r.getParameters(), null); in testEntering_StringString_Null()
1070 assertSame(r.getParameters()[0], param); in testEntering_StringStringObject_Normal()
1071 assertEquals(1, r.getParameters().length); in testEntering_StringStringObject_Normal()
1099 assertEquals(r.getParameters().length, 1); in testEntering_StringStringObject_Null()
1100 assertNull(r.getParameters()[0]); in testEntering_StringStringObject_Null()
1123 assertSame(r.getParameters()[0], params[0]); in testEntering_StringStringObjects_Normal()
1124 assertSame(r.getParameters()[1], params[1]); in testEntering_StringStringObjects_Normal()
[all …]
DLogRecordTest.java221 assertNull(lr.getParameters()); in testGetSetParameters()
223 assertNull(lr.getParameters()); in testGetSetParameters()
226 assertEquals(oa, lr.getParameters()); in testGetSetParameters()
229 assertSame(oa, lr.getParameters()); in testGetSetParameters()
277 Object[] paramInit = init.getParameters();
278 Object[] paramDser = dser.getParameters();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHKeyParameters.java18 public DHParameters getParameters() in getParameters() method in DHKeyParameters
35 return dhKey.getParameters() == null; in equals()
39 return params.equals(dhKey.getParameters()); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java37 this.key = (ECPrivateKeyParameters)rParam.getParameters(); in init()
62 BigInteger n = key.getParameters().getN(); in generateSignature()
81 ECPoint p = key.getParameters().getG().multiply(k); in generateSignature()
115 BigInteger n = key.getParameters().getN(); in verifySignature()
135 ECPoint G = key.getParameters().getG(); in verifySignature()
DDSASigner.java36 this.key = (DSAPrivateKeyParameters)rParam.getParameters(); in init()
60 DSAParameters params = key.getParameters(); in generateSignature()
96 DSAParameters params = key.getParameters(); in verifySignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DDHBasicAgreement.java34 kParam = (AsymmetricKeyParameter)rParam.getParameters(); in init()
47 this.dhParams = key.getParameters(); in init()
59 if (!pub.getParameters().equals(dhParams)) in calculateAgreement()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPublicKey.java49 ….dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), para… in JDKDSAPublicKey()
77 if (isNotNull(info.getAlgorithmId().getParameters())) in JDKDSAPublicKey()
79 … DSAParameter params = new DSAParameter((ASN1Sequence)info.getAlgorithmId().getParameters()); in JDKDSAPublicKey()
DJCEDHPublicKey.java51 …is.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), para… in JCEDHPublicKey()
79 ASN1Sequence seq = ASN1Sequence.getInstance(info.getAlgorithmId().getParameters()); in JCEDHPublicKey()
DX509CertificateObject.java279 if (c.getSignatureAlgorithm().getParameters() != null) in getSigAlgParams()
283 … return c.getSignatureAlgorithm().getParameters().toASN1Primitive().getEncoded(ASN1Encoding.DER); in getSigAlgParams()
782 ASN1Encodable params = c.getSignatureAlgorithm().getParameters(); in checkSignature()
804 if (id1.getParameters() == null) in isAlgIdEqual()
806 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
814 if (id2.getParameters() == null) in isAlgIdEqual()
816 if (id1.getParameters() != null && !id1.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
824 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
DJCEDHPrivateKey.java63 ASN1Sequence seq = ASN1Sequence.getInstance(info.getAlgorithmId().getParameters()); in JCEDHPrivateKey()
99 …is.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), para… in JCEDHPrivateKey()
DJDKDSAPrivateKey.java60 … DSAParameter params = new DSAParameter((ASN1Sequence)info.getAlgorithmId().getParameters()); in JDKDSAPrivateKey()
71 ….dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), para… in JDKDSAPrivateKey()
DJCEECPrivateKey.java118 ECDomainParameters dp = params.getParameters(); in JCEECPrivateKey()
149 ECDomainParameters dp = params.getParameters(); in JCEECPrivateKey()
201 …rameters params = new X962Parameters((ASN1Primitive)info.getPrivateKeyAlgorithm().getParameters()); in populateFromPrivKeyInfo()
205 ASN1ObjectIdentifier oid = ASN1ObjectIdentifier.getInstance(params.getParameters()); in populateFromPrivKeyInfo()
244 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPrivKeyInfo()
363 public org.bouncycastle.jce.spec.ECParameterSpec getParameters() in getParameters() method in JCEECPrivateKey
DJCEECPublicKey.java112 ECDomainParameters dp = params.getParameters(); in JCEECPublicKey()
134 ECDomainParameters dp = params.getParameters(); in JCEECPublicKey()
243 … X962Parameters params = new X962Parameters((ASN1Primitive)info.getAlgorithmId().getParameters()); in populateFromPubKeyInfo()
249 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)params.getParameters(); in populateFromPubKeyInfo()
271 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPubKeyInfo()
430 public org.bouncycastle.jce.spec.ECParameterSpec getParameters() in getParameters() method in JCEECPublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPublicKey.java48 ….dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), para… in BCDSAPublicKey()
76 if (isNotNull(info.getAlgorithm().getParameters())) in BCDSAPublicKey()
78 DSAParameter params = DSAParameter.getInstance(info.getAlgorithm().getParameters()); in BCDSAPublicKey()
DBCDSAPrivateKey.java58 … DSAParameter params = DSAParameter.getInstance(info.getPrivateKeyAlgorithm().getParameters()); in BCDSAPrivateKey()
69 ….dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), para… in BCDSAPrivateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java107 DHDomainParameters dhParams = DHDomainParameters.getInstance(algId.getParameters()); in createKey()
135 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey()
158 ASN1Encodable de = algId.getParameters(); in createKey()
172 (ASN1Primitive)algId.getParameters()); in createKey()
177 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)params.getParameters(); in createKey()
199 x9 = X9ECParameters.getInstance(params.getParameters()); in createKey()
DPrivateKeyFactory.java100 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey()
122 ASN1Encodable de = algId.getParameters(); in createKey()
135 X962Parameters params = new X962Parameters((ASN1Primitive)algId.getParameters()); in createKey()
140 ASN1ObjectIdentifier oid = ASN1ObjectIdentifier.getInstance(params.getParameters()); in createKey()
162 x9 = X9ECParameters.getInstance(params.getParameters()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java52 …is.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), para… in BCDHPublicKey()
80 ASN1Sequence seq = ASN1Sequence.getInstance(info.getAlgorithm().getParameters()); in BCDHPublicKey()
DBCDHPrivateKey.java64 … ASN1Sequence seq = ASN1Sequence.getInstance(info.getPrivateKeyAlgorithm().getParameters()); in BCDHPrivateKey()
100 …is.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), para… in BCDHPrivateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DEncryptionScheme.java43 return (ASN1Primitive)getParameters(); in getObject()
51 v.add(getParameters()); in getASN1Primitive()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/
DConfigurationTest.java239 …als("Configuration parameters got should be equals to parameters provided",cf.getParameters(),mcp); in test_getInstance_String_Parameters_Provider()
268 assertNull(cf.getParameters()); in test_getInstance_String_Parameters_Provider()
280 …als("Configuration parameters got should be equals to parameters provided",cf.getParameters(),mcp); in test_getInstance_String_Parameters_String()
335 …als("Configuration parameters got should be equals to parameters provided",cf.getParameters(),mcp); in test_getInstance_String_Parameters()
377 …als("Configuration parameters got should be equals to parameters provided",cf.getParameters(),mcp); in test_getParameter()
/external/oauth/core/src/main/java/net/oauth/client/
DOAuthClient.java276 url = OAuth.addParameters(url, request.getParameters()); in invoke()
279 byte[] form = OAuth.formEncode(request.getParameters()).getBytes( in invoke()
290 List<Map.Entry<String, String>> others = request.getParameters(); in invoke()
322 response.getParameters(); // decode the response body in invoke()
325 problem.getParameters().putAll(response.getDump()); in invoke()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DBCECPrivateKey.java128 ECDomainParameters dp = params.getParameters(); in BCECPrivateKey()
161 ECDomainParameters dp = params.getParameters(); in BCECPrivateKey()
220 … X962Parameters params = X962Parameters.getInstance(info.getPrivateKeyAlgorithm().getParameters()); in populateFromPrivKeyInfo()
224 ASN1ObjectIdentifier oid = ASN1ObjectIdentifier.getInstance(params.getParameters()); in populateFromPrivKeyInfo()
263 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPrivKeyInfo()
382 public org.bouncycastle.jce.spec.ECParameterSpec getParameters() in getParameters() method in BCECPrivateKey
DBCECPublicKey.java105 ECDomainParameters dp = params.getParameters(); in BCECPublicKey()
130 ECDomainParameters dp = params.getParameters(); in BCECPublicKey()
197 … X962Parameters params = new X962Parameters((ASN1Primitive)info.getAlgorithm().getParameters()); in populateFromPubKeyInfo()
203 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)params.getParameters(); in populateFromPubKeyInfo()
225 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPubKeyInfo()
340 public org.bouncycastle.jce.spec.ECParameterSpec getParameters() in getParameters() method in BCECPublicKey

12345