Searched defs:params (Results 126 - 150 of 317) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DAes128.java44 public static byte[] stringToKey(char[] password, String salt, byte[] params) argument
46 return CRYPTO.stringToKey(password, salt, params);
H A DAes256.java44 public static byte[] stringToKey(char[] password, String salt, byte[] params) argument
46 return CRYPTO.stringToKey(password, salt, params);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyAgreement.java92 protected void engineInit(Key key, AlgorithmParameterSpec params, argument
95 if (params != null) {
143 DHParameterSpec params = dhKey.getParams();
144 p = params.getP();
145 g = params.getG();
169 DHParameterSpec params = dhKey.getParams();
170 if ((p.equals(params.getP()) == false)
171 || (g.equals(params.getG()) == false)) {
/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/provider/certpath/
H A DIndexedCollectionCertStore.java117 * @param params the algorithm parameters
118 * @exception InvalidAlgorithmParameterException if params is not an
121 public IndexedCollectionCertStore(CertStoreParameters params) argument
123 super(params);
124 if (!(params instanceof CollectionCertStoreParameters)) {
128 Collection<?> coll = ((CollectionCertStoreParameters)params).getCollection();
/openjdk7/jdk/src/share/classes/sun/tracing/
H A DPrintStreamProviderFactory.java91 PrintStreamProbe(PrintStreamProvider p, String name, Class<?>[] params) { argument
92 super(params);
/openjdk7/jdk/src/share/classes/sun/util/
H A DTimeZoneNameUtility.java153 Object... params) {
154 assert params.length == 0;
150 getObject(TimeZoneNameProvider timeZoneNameProvider, Locale locale, String requestID, Object... params) argument
/openjdk7/jdk/src/share/classes/sun/util/logging/
H A DLoggingProxy.java48 public void log(Object logger, Object level, String msg, Object... params); argument
/openjdk7/jdk/test/java/rmi/server/RemoteObject/unrecognizedRefType/
H A DUnrecognizedRefType.java99 Object[] params,
97 invoke(Remote obj, Method method, Object[] params, long opnum) argument
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDHKeyAgreement.java71 protected void engineInit(Key key, AlgorithmParameterSpec params, argument
74 if (params != null) {
101 ECParameterSpec params = ecKey.getParams();
107 ECParameters.encodePoint(ecKey.getW(), params.getCurve());
109 int keyLenBits = params.getCurve().getField().getFieldSize();
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
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...]
H A Decl.c221 const ECCurveParams * params, int kmflag)
241 MP_CHECKOK(mp_read_radix(&irr, params->irr, 16));
242 MP_CHECKOK(mp_read_radix(&curvea, params->curvea, 16));
243 MP_CHECKOK(mp_read_radix(&curveb, params->curveb, 16));
244 MP_CHECKOK(mp_read_radix(&genx, params->genx, 16));
245 MP_CHECKOK(mp_read_radix(&geny, params->geny, 16));
246 MP_CHECKOK(mp_read_radix(&order, params->order, 16));
256 if (params->field == ECField_GFp) {
263 &order, params->cofactor);
272 &order, params
220 ecgroup_fromNameAndHex(const ECCurveName name, const ECCurveParams * params, int kmflag) argument
377 ECGroup_fromHex(const ECCurveParams * params, int kmflag) argument
387 ECCurveParams *params = NULL; local
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXContentWindow.java76 void preInit(XCreateWindowParams params) { argument
77 super.preInit(params);
78 params.putIfNull(BIT_GRAVITY, Integer.valueOf(XConstants.NorthWestGravity));
79 Long eventMask = (Long)params.get(EVENT_MASK);
82 params.put(EVENT_MASK, eventMask);
H A DXIconWindow.java50 void instantPreInit(XCreateWindowParams params) { argument
51 super.instantPreInit(params);
52 this.parent = (XDecoratedPeer)params.get(PARENT);
469 XCreateWindowParams params = getDelayedParams();
470 params.add(BORDER_PIXEL, Long.valueOf(XToolkit.getAwtDefaultFg()));
471 params.add(BACKGROUND_PIXMAP, iconPixmap);
472 params.add(COLORMAP, adata.get_awt_cmap());
473 params.add(DEPTH, awtImage.get_Depth());
474 params.add(VISUAL_CLASS, (int)XConstants.InputOutput);
475 params
[all...]
H A DXLabelPeer.java52 void preInit(XCreateWindowParams params) { argument
53 super.preInit(params);
H A DXPanelPeer.java45 XPanelPeer(XCreateWindowParams params) { argument
46 super(params);
53 void postInit(XCreateWindowParams params) { argument
54 super.postInit(params);
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestSymmCiphers.java106 AlgorithmParameters params = c2.getParameters();
109 test(c1, Cipher.ENCRYPT_MODE, key, params, firstBlkSize,
112 c2.init(Cipher.DECRYPT_MODE, key, params);
115 test(c1, Cipher.DECRYPT_MODE, key, params, firstBlkSize,
134 AlgorithmParameters params, int firstBlkSize,
138 cipher.init(mode, key, params);
133 test(Cipher cipher, int mode, SecretKey key, AlgorithmParameters params, int firstBlkSize, byte[] in, byte[] answer) argument
H A DTestSymmCiphersNoPad.java88 AlgorithmParameters params = c2.getParameters();
90 test(c1, Cipher.ENCRYPT_MODE, key, params,
93 c2.init(Cipher.DECRYPT_MODE, key, params);
95 test(c1, Cipher.DECRYPT_MODE, key, params,
113 AlgorithmParameters params,
117 cipher.init(mode, key, params);
112 test(Cipher cipher, int mode, SecretKey key, AlgorithmParameters params, byte[] in, byte[] answer) argument
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/cmdline/
H A DTransform.java84 public void setParameters(Vector params) { argument
85 _params = params;
272 Vector params = new Vector();
278 params.addElement(new Parameter(name, value));
286 handler.setParameters(params);
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLServerSocket.java487 * <li>if <code>params.getCipherSuites()</code> is non-null,
489 * <li>if <code>params.getProtocols()</code> is non-null,
491 * <li>if <code>params.getNeedClientAuth()</code> or
492 * <code>params.getWantClientAuth()</code> return <code>true</code>,
498 * @param params the parameters
506 public void setSSLParameters(SSLParameters params) { argument
508 s = params.getCipherSuites();
513 s = params.getProtocols();
518 if (params.getNeedClientAuth()) {
520 } else if (params
[all...]
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/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMHMACSignatureMethod.java64 * Creates a <code>DOMHMACSignatureMethod</code> with the specified params
66 * @param params algorithm-specific parameters (may be <code>null</code>)
67 * @throws InvalidAlgorithmParameterException if params are inappropriate
69 DOMHMACSignatureMethod(AlgorithmParameterSpec params) argument
71 super(params);
83 void checkParams(SignatureMethodParameterSpec params) argument
85 if (params != null) {
86 if (!(params instanceof HMACParameterSpec)) {
88 ("params must be of type HMACParameterSpec");
90 outputLength = ((HMACParameterSpec) params)
194 SHA1(AlgorithmParameterSpec params) argument
213 SHA256(AlgorithmParameterSpec params) argument
232 SHA384(AlgorithmParameterSpec params) argument
251 SHA512(AlgorithmParameterSpec params) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/
H A DKeyPairGenerator.java385 * passing it <code>params</code> and a source of randomness (obtained
391 * @param params the parameter set used to generate the keys.
398 public void initialize(AlgorithmParameterSpec params) argument
400 initialize(params, JCAUtil.getSecureRandom());
413 * passing it <code>params</code> and <code>random</code>.
418 * @param params the parameter set used to generate the keys.
426 public void initialize(AlgorithmParameterSpec params, argument
433 // initialize(params, random) method, so the application would
436 // of Delegate, in which case initialize(params, random) is
648 public void initialize(AlgorithmParameterSpec params, argument
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipherSpi.java364 * <code>params</code> is null, the underlying cipher implementation is
393 * @param params the algorithm parameters
401 * algorithm parameters and <code>params</code> is null.
404 AlgorithmParameterSpec params,
417 * <code>params</code> is null, the underlying cipher implementation is
446 * @param params the algorithm parameters
454 * algorithm parameters and <code>params</code> is null.
457 AlgorithmParameters params,
403 engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) argument
456 engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) argument
H A DKeyAgreement.java337 AlgorithmParameterSpec params, SecureRandom random)
342 spi.engineInit(key, params, random);
347 AlgorithmParameterSpec params, SecureRandom random)
351 implInit(spi, initType, key, params, random);
372 implInit(spi, initType, key, params, random);
487 * @param params the key agreement parameters
495 public final void init(Key key, AlgorithmParameterSpec params) argument
498 init(key, params, JceSecurity.RANDOM);
508 * @param params the key agreement parameters
517 public final void init(Key key, AlgorithmParameterSpec params, argument
336 implInit(KeyAgreementSpi spi, int type, Key key, AlgorithmParameterSpec params, SecureRandom random) argument
346 chooseProvider(int initType, Key key, AlgorithmParameterSpec params, SecureRandom random) argument
[all...]

Completed in 75 milliseconds

1234567891011>>