Home
last modified time | relevance | path

Searched refs:getParameters (Results 1 – 25 of 117) 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DDHBasicAgreement.java34 kParam = (AsymmetricKeyParameter)rParam.getParameters(); in init()
47 this.dhParams = key.getParameters(); in init()
52 return (key.getParameters().getP().bitLength() + 7) / 8; in getFieldSize()
64 if (!pub.getParameters().equals(dhParams)) in calculateAgreement()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DCertUtils.java222 if (id1.getParameters() == null) in isAlgIdEqual()
224 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
232 if (id2.getParameters() == null) in isAlgIdEqual()
234 if (id1.getParameters() != null && !id1.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
242 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
/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/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 …]
/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/jce/provider/
DJDKDSAPublicKey.java49 ….dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), para… in JDKDSAPublicKey()
77 if (isNotNull(info.getAlgorithm().getParameters())) in JDKDSAPublicKey()
79 DSAParameter params = DSAParameter.getInstance(info.getAlgorithm().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()
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.java59 … DSAParameter params = DSAParameter.getInstance(info.getPrivateKeyAlgorithm().getParameters()); in JDKDSAPrivateKey()
70 ….dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), para… in JDKDSAPrivateKey()
DX509CertificateObject.java288 if (c.getSignatureAlgorithm().getParameters() != null) in getSigAlgParams()
292 … return c.getSignatureAlgorithm().getParameters().toASN1Primitive().getEncoded(ASN1Encoding.DER); in getSigAlgParams()
803 ASN1Encodable params = c.getSignatureAlgorithm().getParameters(); in checkSignature()
825 if (id1.getParameters() == null) in isAlgIdEqual()
827 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
835 if (id2.getParameters() == null) in isAlgIdEqual()
837 if (id1.getParameters() != null && !id1.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
845 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
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
/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.java57 … DSAParameter params = DSAParameter.getInstance(info.getPrivateKeyAlgorithm().getParameters()); in BCDSAPrivateKey()
68 ….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.java63 … ASN1Sequence seq = ASN1Sequence.getInstance(info.getPrivateKeyAlgorithm().getParameters()); in BCDHPrivateKey()
99 …is.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), para… in BCDHPrivateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateObject.java290 if (c.getSignatureAlgorithm().getParameters() != null) in getSigAlgParams()
294 … return c.getSignatureAlgorithm().getParameters().toASN1Primitive().getEncoded(ASN1Encoding.DER); in getSigAlgParams()
805 ASN1Encodable params = c.getSignatureAlgorithm().getParameters(); in checkSignature()
827 if (id1.getParameters() == null) in isAlgIdEqual()
829 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
837 if (id2.getParameters() == null) in isAlgIdEqual()
839 if (id1.getParameters() != null && !id1.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
847 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DKeyDerivationFunc.java47 public ASN1Encodable getParameters() in getParameters() method in KeyDerivationFunc
49 return algId.getParameters(); in getParameters()
DEncryptionScheme.java47 public ASN1Encodable getParameters() in getParameters() method in EncryptionScheme
49 return algId.getParameters(); in getParameters()
/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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DSICBlockCipher.java63 if (ivParam.getParameters() != null) in init()
65 cipher.init(true, ivParam.getParameters()); in init()

12345