Searched defs:params (Results 1 - 25 of 88) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/security/cert/
H A DCertPathBuilderSpi.java66 * @param params the algorithm parameters
73 public abstract CertPathBuilderResult engineBuild(CertPathParameters params) argument
H A DCertPathValidatorSpi.java74 * @param params the algorithm parameters
83 engineValidate(CertPath certPath, CertPathParameters params) argument
H A DCertStoreSpi.java63 * @param params the initialization parameters (may be <code>null</code>)
67 public CertStoreSpi(CertStoreParameters params) argument
H A DCertPathBuilder.java65 * params.addCertPathChecker(rc);
66 * CertPathBuilderResult cpbr = cpb.build(params);
279 * @param params the algorithm parameters
286 public final CertPathBuilderResult build(CertPathParameters params) argument
289 return builderSpi.engineBuild(params);
H A DCertPathValidator.java67 * params.addCertPathChecker(rc);
68 * CertPathValidatorResult cpvr = cpv.validate(path, params);
289 * @param params the algorithm parameters
298 CertPathParameters params)
301 return validatorSpi.engineValidate(certPath, params);
297 validate(CertPath certPath, CertPathParameters params) argument
/libcore/luni/src/test/java/tests/security/
H A DCertPathBuilderTest.java26 private CertPathParameters params; field in class:CertPathBuilderTest
36 params = getCertPathParameters();
46 CertPathBuilderResult builderResult = pathBuilder.build(params);
/libcore/ojluni/src/main/java/java/security/
H A DAlgorithmParametersSpi.java72 * @param params the encoded parameters.
76 protected abstract void engineInit(byte[] params) argument
80 * Imports the parameters from <code>params</code> and
87 * @param params the encoded parameters.
93 protected abstract void engineInit(byte[] params, String format) argument
H A DKeyPairGeneratorSpi.java82 * @param params the parameter set used to generate the keys.
91 public void initialize(AlgorithmParameterSpec params, argument
/libcore/ojluni/src/main/java/java/security/interfaces/
H A DDSAKeyPairGenerator.java75 * @param params the parameters to use to generate the keys.
80 * @exception InvalidParameterException if the <code>params</code>
83 public void initialize(DSAParams params, SecureRandom random) argument
/libcore/ojluni/src/main/java/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;
/libcore/ojluni/src/main/java/javax/crypto/
H A DKeyGeneratorSpi.java57 * @param params the key generation parameters
60 * @exception InvalidAlgorithmParameterException if <code>params</code> is
63 protected abstract void engineInit(AlgorithmParameterSpec params, argument
H A DExemptionMechanismSpi.java89 * <code>params</code> is null, the underlying exemption mechanism
96 * @param params the algorithm parameters
105 protected abstract void engineInit(Key key, AlgorithmParameterSpec params) argument
114 * and <code>params</code> is null, the underlying exemption mechanism
121 * @param params the algorithm parameters
130 protected abstract void engineInit(Key key, AlgorithmParameters params) argument
H A DKeyAgreementSpi.java95 * @param params the key agreement parameters
104 protected abstract void engineInit(Key key, AlgorithmParameterSpec params, argument
H A DMacSpi.java61 * @param params the algorithm parameters.
69 AlgorithmParameterSpec params)
68 engineInit(Key key, AlgorithmParameterSpec params) argument
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DCollectionCertStore.java90 * @param params the algorithm parameters
91 * @exception InvalidAlgorithmParameterException if params is not an
94 public CollectionCertStore(CertStoreParameters params) argument
97 super(params);
98 if (!(params instanceof CollectionCertStoreParameters))
101 coll = ((CollectionCertStoreParameters) params).getCollection();
H A DPKIXCertPathValidator.java67 * @param params the input PKIX parameter set
75 CertPathParameters params)
78 ValidatorParams valParams = PKIX.checkParams(cp, params);
82 private static PKIXCertPathValidatorResult validate(ValidatorParams params) argument
91 List<X509Certificate> certList = params.certificates();
117 for (TrustAnchor anchor : params.trustAnchors()) {
143 return validate(anchor, params);
162 ValidatorParams params)
165 int certPathLen = params.certificates().size();
173 params
74 engineValidate(CertPath cp, CertPathParameters params) argument
161 validate(TrustAnchor anchor, ValidatorParams params) argument
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DKeyGeneratorSpiTest.java53 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) argument
55 super.engineInit(params, random);
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
H A DMyKeyGeneratorSpi.java46 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) argument
48 if (params == null) {
49 throw new InvalidAlgorithmParameterException("params is null");
/libcore/luni/src/test/java/tests/security/spec/
H A DECPublicKeySpecTest.java31 ECParameterSpec params; field in class:ECPublicKeySpecTest
43 params = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1);
44 ecpks = new ECPublicKeySpec(w, params);
49 params = null;
59 * case 3: catch NullPointerException - if params is null.
64 assertEquals("wrong params value", params, ecpks.getParams());
69 new ECPublicKeySpec(null, params);
75 // case 3: catch NullPointerException - if params is null.
95 assertEquals("wrong params valu
[all...]
/libcore/luni/src/test/java/tests/targets/security/cert/
H A DCertPathValidatorTestPKIX.java42 private PKIXParameters params; field in class:CertPathValidatorTestPKIX
88 params = new PKIXParameters(keyStore);
89 params.setRevocationEnabled(false);
94 return params;
/libcore/ojluni/src/main/java/sun/security/ec/
H A DECPrivateKeyImpl.java67 private ECParameterSpec params; field in class:ECPrivateKeyImpl
81 public ECPrivateKeyImpl(BigInteger s, ECParameterSpec params) argument
84 this.params = params;
87 (AlgorithmId.EC_oid, ECParameters.getAlgorithmParameters(params));
114 return params;
149 params = algParams.getParameterSpec(ECParameterSpec.class);
159 return "Sun EC private key, " + params.getCurve().getField().getFieldSize()
161 + s + "\n parameters: " + params;
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...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyKeyPairGeneratorSpi.java53 public void initialize(AlgorithmParameterSpec params, SecureRandom random) argument
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertPathBuilderSpi.java39 public CertPathBuilderResult engineBuild(CertPathParameters params) argument
42 if ((params == null) && ((swi %2 ) != 0)) {

Completed in 265 milliseconds

1234