Home
last modified time | relevance | path

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

123456

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DProtoPool.java80 …@Nullable @Override public TypeListPool.Key<List<? extends CharSequence>> getParameters(@Nonnull K… in getParameters() method in ProtoPool
81 return new TypeListPool.Key<List<? extends CharSequence>>(key.getParameters()); in getParameters()
92 @Nonnull public List<? extends CharSequence> getParameters() { in getParameters() method in ProtoPool.Key
103 for (CharSequence paramType: getParameters()) { in toString()
114 return hashCode*31 + CharSequenceUtils.listHashCode(getParameters()); in hashCode()
122 CharSequenceUtils.listEquals(getParameters(), other.getParameters()); in equals()
131 …rn CollectionUtils.compareAsIterable(Ordering.usingToString(), getParameters(), o.getParameters()); in compareTo()
/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.java56 this.key = (ECPrivateKeyParameters)rParam.getParameters(); in init()
81 BigInteger n = key.getParameters().getN(); in generateSignature()
104 ECPoint p = key.getParameters().getG().multiply(k).normalize(); in generateSignature()
138 BigInteger n = key.getParameters().getN(); in verifySignature()
158 ECPoint G = key.getParameters().getG(); in verifySignature()
DDSASigner.java55 this.key = (DSAPrivateKeyParameters)rParam.getParameters(); in init()
79 DSAParameters params = key.getParameters(); in generateSignature()
118 DSAParameters params = key.getParameters(); in verifySignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java102 DHDomainParameters dhParams = DHDomainParameters.getInstance(algId.getParameters()); in createKey()
130 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey()
153 ASN1Encodable de = algId.getParameters(); in createKey()
166 X962Parameters params = X962Parameters.getInstance(algId.getParameters()); in createKey()
171 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)params.getParameters(); in createKey()
176 x9 = X9ECParameters.getInstance(params.getParameters()); in createKey()
DPrivateKeyFactory.java95 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey()
117 ASN1Encodable de = algId.getParameters(); in createKey()
130 X962Parameters params = new X962Parameters((ASN1Primitive)algId.getParameters()); in createKey()
135 ASN1ObjectIdentifier oid = ASN1ObjectIdentifier.getInstance(params.getParameters()); in createKey()
140 x9 = X9ECParameters.getInstance(params.getParameters()); in createKey()
/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/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()
DJDKDSAPrivateKey.java59 … DSAParameter params = DSAParameter.getInstance(info.getPrivateKeyAlgorithm().getParameters()); in JDKDSAPrivateKey()
70 ….dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), para… in JDKDSAPrivateKey()
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()
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/dh/
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()
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()
/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/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()

123456