Searched refs:params (Results 1 - 25 of 511) sorted by relevance

1234567891011>>

/openjdk7/hotspot/test/compiler/6896727/
H A DTest.java36 String params[][] = {
39 for (int i=0; i<params.length; i++) {
41 System.out.println("Params :" + testString + " and " + params[i][0] + ", " + params[i][1]);
42 if (params[i][1] == null) {
/openjdk7/jdk/src/share/classes/java/security/spec/
H A DECPrivateKeySpec.java43 private ECParameterSpec params; field in class:ECPrivateKeySpec
49 * @param params the associated elliptic curve domain
52 * or <code>params</code> is null.
54 public ECPrivateKeySpec(BigInteger s, ECParameterSpec params) { argument
58 if (params == null) {
59 throw new NullPointerException("params is null");
62 this.params = params;
79 return params;
H A DECPublicKeySpec.java42 private ECParameterSpec params; field in class:ECPublicKeySpec
48 * @param params the associated elliptic curve domain
51 * or <code>params</code> is null.
55 public ECPublicKeySpec(ECPoint w, ECParameterSpec params) { argument
59 if (params == null) {
60 throw new NullPointerException("params is null");
66 this.params = params;
83 return params;
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Decl_curve.c50 ECCurveParams_dup(const ECCurveParams * params, int kmflag) argument
60 if (params->text != NULL) {
62 ret->text = kmem_alloc(strlen(params->text) + 1, kmflag);
63 bcopy(params->text, ret->text, strlen(params->text) + 1);
65 CHECK(ret->text = strdup(params->text));
68 ret->field = params->field;
69 ret->size = params->size;
70 if (params->irr != NULL) {
72 ret->irr = kmem_alloc(strlen(params
144 EC_FreeCurveParams(ECCurveParams * params) argument
[all...]
H A Decdecode.c108 gf_populate_params(ECCurveName name, ECFieldType field_type, ECParams *params, argument
118 params->name = name;
119 curveParams = ecCurve_map[params->name];
121 params->fieldID.size = curveParams->size;
122 params->fieldID.type = field_type;
124 CHECK_OK(hexString2SECItem(NULL, &params->fieldID.u.prime,
127 CHECK_OK(hexString2SECItem(NULL, &params->fieldID.u.poly,
130 CHECK_OK(hexString2SECItem(NULL, &params->curve.a,
132 CHECK_OK(hexString2SECItem(NULL, &params->curve.b,
139 CHECK_OK(hexString2SECItem(NULL, &params
153 EC_FillParams(PRArenaPool *arena, const SECItem *encodedParams, ECParams *params, int kmflag) argument
583 ECParams *params; local
[all...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DAgentConfigurationError.java114 private final String[] params; field in class:AgentConfigurationError
119 this.params = null;
125 this.params = null;
128 public AgentConfigurationError(String error, String... params) { argument
131 this.params = new String[params.length];
132 for (int i = 0; i < params.length; i++) {
133 this.params[i] = params[i];
137 public AgentConfigurationError(String error, Throwable cause, String... params) { argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECPublicKeyImpl.java48 private ECParameterSpec params; field in class:ECPublicKeyImpl
54 public ECPublicKeyImpl(ECPoint w, ECParameterSpec params) argument
57 this.params = params;
60 (AlgorithmId.EC_oid, ECParameters.getAlgorithmParameters(params));
61 key = ECParameters.encodePoint(w, params.getCurve());
83 return params;
98 params = algParams.getParameterSpec(ECParameterSpec.class);
99 w = ECParameters.decodePoint(key, params.getCurve());
109 return "Sun EC public key, " + params
[all...]
H A DECKeyPairGenerator.java60 private AlgorithmParameterSpec params = null; field in class:ECKeyPairGenerator
75 this.params = NamedCurve.getECParameterSpec(keySize);
76 if (params == null) {
85 public void initialize(AlgorithmParameterSpec params, SecureRandom random) argument
88 if (params instanceof ECParameterSpec) {
89 this.params = ECParameters.getNamedCurve((ECParameterSpec)params);
90 if (this.params == null) {
92 "Unsupported curve: " + params);
94 } else if (params instanceo
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DOperationEntry.java52 MBeanParameterInfo params[] = operation.getSignature();
54 inputs = new XTextField[params.length];
55 for (int i = 0; i < params.length; i++) {
56 if(params[i].getName() != null) {
58 new JLabel(params[i].getName(), JLabel.CENTER);
59 name.setToolTipText(params[i].getDescription());
64 Utils.getDefaultValue(params[i].getType());
72 Utils.getClass(params[i].getType()),
79 if (i < params.length-1)
93 MBeanParameterInfo params[]
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/
H A DCK_MECHANISM.java111 public CK_MECHANISM(long mechanism, CK_SSL3_MASTER_KEY_DERIVE_PARAMS params) { argument
112 init(mechanism, params);
115 public CK_MECHANISM(long mechanism, CK_SSL3_KEY_MAT_PARAMS params) { argument
116 init(mechanism, params);
119 public CK_MECHANISM(long mechanism, CK_TLS_PRF_PARAMS params) { argument
120 init(mechanism, params);
123 public CK_MECHANISM(long mechanism, CK_ECDH1_DERIVE_PARAMS params) { argument
124 init(mechanism, params);
127 public CK_MECHANISM(long mechanism, Long params) { argument
128 init(mechanism, params);
131 CK_MECHANISM(long mechanism, CK_AES_CTR_PARAMS params) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertPathBuilderSpi.java66 * @param params the algorithm parameters
73 public abstract CertPathBuilderResult engineBuild(CertPathParameters params) argument
H A DCertStore.java104 private CertStoreParameters params; field in class:CertStore
113 * @param params the initialization parameters (may be <code>null</code>)
116 String type, CertStoreParameters params) {
120 if (params != null)
121 this.params = (CertStoreParameters) params.clone();
210 * @param params the initialization parameters (may be <code>null</code>).
224 public static CertStore getInstance(String type, CertStoreParameters params) argument
229 CertStoreSpi.class, type, params);
231 instance.provider, type, params);
115 CertStore(CertStoreSpi storeSpi, Provider provider, String type, CertStoreParameters params) argument
293 getInstance(String type, CertStoreParameters params, String provider) argument
348 getInstance(String type, CertStoreParameters params, Provider provider) argument
[all...]
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMDigestMethod.java50 private DigestMethodParameterSpec params; field in class:DOMDigestMethod
55 * @param params the algorithm-specific params (may be <code>null</code>)
59 DOMDigestMethod(AlgorithmParameterSpec params) argument
61 if (params != null && !(params instanceof DigestMethodParameterSpec)) {
63 ("params must be of type DigestMethodParameterSpec");
65 checkParams((DigestMethodParameterSpec) params);
66 this.params = (DigestMethodParameterSpec) params;
114 checkParams(DigestMethodParameterSpec params) argument
202 SHA1(AlgorithmParameterSpec params) argument
218 SHA256(AlgorithmParameterSpec params) argument
234 SHA384(AlgorithmParameterSpec params) argument
250 SHA512(AlgorithmParameterSpec params) argument
[all...]
H A DDOMBase64Transform.java42 public void init(TransformParameterSpec params) argument
44 if (params != null) {
45 throw new InvalidAlgorithmParameterException("params must be null");
H A DDOMEnvelopedTransform.java40 public void init(TransformParameterSpec params) argument
42 if (params != null) {
43 throw new InvalidAlgorithmParameterException("params must be null");
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLSocket.java613 SSLParameters params = new SSLParameters();
614 params.setCipherSuites(getEnabledCipherSuites());
615 params.setProtocols(getEnabledProtocols());
617 params.setNeedClientAuth(true);
619 params.setWantClientAuth(true);
621 return params;
629 * <li>if <code>params.getCipherSuites()</code> is non-null,
631 * <li>if <code>params.getProtocols()</code> is non-null,
633 * <li>if <code>params.getNeedClientAuth()</code> or
634 * <code>params
645 setSSLParameters(SSLParameters params) argument
[all...]
/openjdk7/jdk/test/sun/security/ssl/sanity/interop/
H A DJSSEClient.java46 void runTest(CipherTest.TestParameters params) throws Exception { argument
49 keyManager.setAuthType(params.clientAuth);
54 socket.setEnabledCipherSuites(new String[] {params.cipherSuite});
55 socket.setEnabledProtocols(new String[] {params.protocol});
63 if (params.cipherSuite.equals(cipherSuite) == false) {
64 throw new Exception("Negotiated ciphersuite mismatch: " + cipherSuite + " != " + params.cipherSuite);
67 if (params.protocol.equals(protocol) == false) {
68 throw new Exception("Negotiated protocol mismatch: " + protocol + " != " + params.protocol);
74 if (params.clientAuth == null) {
83 if (params
[all...]
/openjdk7/jdk/test/sun/security/pkcs11/fips/
H A DJSSEClient.java45 void runTest(CipherTest.TestParameters params) throws Exception { argument
48 keyManager.setAuthType(params.clientAuth);
53 socket.setEnabledCipherSuites(new String[] {params.cipherSuite});
54 socket.setEnabledProtocols(new String[] {params.protocol});
62 if (params.cipherSuite.equals(cipherSuite) == false) {
63 throw new Exception("Negotiated ciphersuite mismatch: " + cipherSuite + " != " + params.cipherSuite);
66 if (params.protocol.equals(protocol) == false) {
67 throw new Exception("Negotiated protocol mismatch: " + protocol + " != " + params.protocol);
73 if (params.clientAuth == null) {
82 if (params
[all...]
/openjdk7/jdk/test/sun/security/pkcs11/sslecc/
H A DJSSEClient.java45 void runTest(CipherTest.TestParameters params) throws Exception { argument
48 keyManager.setAuthType(params.clientAuth);
53 socket.setEnabledCipherSuites(new String[] {params.cipherSuite});
54 socket.setEnabledProtocols(new String[] {params.protocol});
62 if (params.cipherSuite.equals(cipherSuite) == false) {
63 throw new Exception("Negotiated ciphersuite mismatch: " + cipherSuite + " != " + params.cipherSuite);
66 if (params.protocol.equals(protocol) == false) {
67 throw new Exception("Negotiated protocol mismatch: " + protocol + " != " + params.protocol);
73 if (params.clientAuth == null) {
85 if (params
[all...]
/openjdk7/jdk/src/share/classes/sun/reflect/misc/
H A DConstructorUtil.java35 public static Constructor getConstructor(Class cls, Class[] params) argument
38 return cls.getConstructor(params);
/openjdk7/jdk/test/sun/security/provider/certpath/ReverseBuilder/
H A DBuildPath.java47 SunCertPathBuilderParameters params =
49 params.setBuildForward(false);
52 params.addCertStore(cs);
55 params.addCertStore(cs2);
56 PKIXCertPathBuilderResult res = CertUtils.build(params);
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAKeyPairGenerator.java58 private DSAParameterSpec params; field in class:DSAKeyPairGenerator
80 this.params = null;
91 params = null;
93 params = ParameterCache.getCachedDSAParameterSpec(modlen);
94 if (params == null) {
108 * @param params a fully initialized DSA parameter object.
110 public void initialize(DSAParams params, SecureRandom random) { argument
111 if (params == null) {
115 (params.getP(), params
129 initialize(AlgorithmParameterSpec params, SecureRandom random) argument
138 initialize0(DSAParameterSpec params, SecureRandom random) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DAlgIdDSA.java168 * value, "params" must be created.
178 params = new DerValue (DerValue.tag_Sequence,out.toByteArray ());
183 * in the "params" member, which never needs to be changed.
188 if (params == null)
189 throw new IOException("DSA alg params are null");
190 if (params.tag != DerValue.tag_Sequence)
193 params.data.reset ();
195 this.p = params.data.getBigInteger();
196 this.q = params.data.getBigInteger();
197 this.g = params
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyPairGenerator.java68 private AlgorithmParameterSpec params; field in class:P11KeyPairGenerator
98 this.params = null;
101 params = P11ECKeyFactory.getECParameterSpec(keySize);
102 if (params == null) {
111 public void initialize(AlgorithmParameterSpec params, SecureRandom random) argument
115 if (params instanceof DHParameterSpec == false) {
119 DHParameterSpec dhParams = (DHParameterSpec)params;
123 this.params = dhParams;
124 // XXX sanity check params
126 if (params instanceo
178 checkKeySize(int keySize, AlgorithmParameterSpec params) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDHKeyPairGenerator.java58 private DHParameterSpec params; field in class:DHKeyPairGenerator
92 this.params = null;
103 * @param params the parameter set used to generate the key pair
116 params = (DHParameterSpec)algParams;
117 pSize = params.getP().bitLength();
126 lSize = params.getL();
146 if (params == null) {
148 params = ParameterCache.getDHParameterSpec(pSize, random);
155 BigInteger p = params.getP();
156 BigInteger g = params
[all...]

Completed in 132 milliseconds

1234567891011>>