Home
last modified time | relevance | path

Searched refs:AlgorithmParameterSpec (Results 1 – 25 of 128) sorted by relevance

123456

/libcore/ojluni/src/main/java/javax/crypto/spec/
DPBEParameterSpec.java28 import java.security.spec.AlgorithmParameterSpec;
40 public class PBEParameterSpec implements AlgorithmParameterSpec {
44 private AlgorithmParameterSpec paramSpec = null;
74 AlgorithmParameterSpec paramSpec) { in PBEParameterSpec()
106 public AlgorithmParameterSpec getParameterSpec() { in getParameterSpec()
DOAEPParameterSpec.java29 import java.security.spec.AlgorithmParameterSpec;
77 public class OAEPParameterSpec implements AlgorithmParameterSpec {
81 private AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1;
114 AlgorithmParameterSpec mgfSpec, in OAEPParameterSpec()
156 public AlgorithmParameterSpec getMGFParameters() { in getMGFParameters()
DDHGenParameterSpec.java29 import java.security.spec.AlgorithmParameterSpec;
45 public class DHGenParameterSpec implements AlgorithmParameterSpec {
/libcore/ojluni/src/main/java/java/security/spec/
DRSAKeyGenParameterSpec.java29 import java.security.spec.AlgorithmParameterSpec;
42 public class RSAKeyGenParameterSpec implements AlgorithmParameterSpec {
46 private AlgorithmParameterSpec keyParams;
79 AlgorithmParameterSpec keyParams) { in RSAKeyGenParameterSpec()
110 public AlgorithmParameterSpec getKeyParams() { in getKeyParams()
DPSSParameterSpec.java84 public class PSSParameterSpec implements AlgorithmParameterSpec {
90 private final AlgorithmParameterSpec mgfSpec;
138 AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField) { in PSSParameterSpec()
198 public AlgorithmParameterSpec getMGFParameters() { in getMGFParameters()
DXECPrivateKeySpec.java42 private final AlgorithmParameterSpec params;
56 public XECPrivateKeySpec(AlgorithmParameterSpec params, byte[] scalar) { in XECPrivateKeySpec()
69 public AlgorithmParameterSpec getParams() { in getParams()
DXECPublicKeySpec.java43 private final AlgorithmParameterSpec params;
57 public XECPublicKeySpec(AlgorithmParameterSpec params, BigInteger u) { in XECPublicKeySpec()
70 public AlgorithmParameterSpec getParams() { in getParams()
DRSAPrivateKeySpec.java49 private final AlgorithmParameterSpec params;
70 AlgorithmParameterSpec params) { in RSAPrivateKeySpec()
101 public AlgorithmParameterSpec getParams() { in getParams()
DRSAPublicKeySpec.java49 private final AlgorithmParameterSpec params;
70 AlgorithmParameterSpec params) { in RSAPublicKeySpec()
102 public AlgorithmParameterSpec getParams() { in getParams()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java25 import java.security.spec.AlgorithmParameterSpec;
59 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) in checkAlgorithmParameterSpec()
70 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) in checkAlgorithmParameterSpec()
110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
172 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
191 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) in checkAlgorithmParameterSpec()
240 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
277 public static class MockAlgorithmParameterSpec implements AlgorithmParameterSpec {
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DCryptoPermission.java29 import java.security.spec.AlgorithmParameterSpec;
46 AlgorithmParameterSpec algParamSpec) { super(""); } in CryptoPermission()
57 AlgorithmParameterSpec algParamSpec, in CryptoPermission()
84 final AlgorithmParameterSpec getAlgorithmParameterSpec() { in getAlgorithmParameterSpec()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParametersSpiTest.java21 import java.security.spec.AlgorithmParameterSpec;
53 protected void engineInit(AlgorithmParameterSpec paramSpec) { in engineInit()
59 protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec){ in engineGetParameterSpec()
73 class MyAlgorithmParameterSpec implements AlgorithmParameterSpec {}
DKeyPairGeneratorSpiTest.java30 import java.security.spec.AlgorithmParameterSpec;
51 AlgorithmParameterSpec pp = null; in testKeyPairGeneratorSpi01()
76 class MyAlgorithmParameterSpec implements AlgorithmParameterSpec {}
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DOAEPParameterSpecTest.java26 import java.security.spec.AlgorithmParameterSpec;
49 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testOAEPParameterSpec()
99 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetDigestAlgorithm()
115 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetMGFAlgorithm()
131 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetMGFParameters()
147 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; in testGetPSource()
/libcore/ojluni/src/test/java/security/KeyAgreement/
DKeyAgreementTest.java38 import java.security.spec.AlgorithmParameterSpec;
59 List<AlgorithmParameterSpec> specs = aSpec.getAlgorithmParameterSpecs(); in testKeyAgreement()
60 for (AlgorithmParameterSpec spec : specs) { in testKeyAgreement()
82 private final List<AlgorithmParameterSpec> specs = new ArrayList<>();
104 public List<AlgorithmParameterSpec> getAlgorithmParameterSpecs() { in getAlgorithmParameterSpecs()
113 String kpgAlgo, AlgorithmParameterSpec spec) throws Exception { in testKeyAgreement()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorSpiTest.java27 import java.security.spec.AlgorithmParameterSpec;
53 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) in engineInit()
82 AlgorithmParameterSpec aps = null; in testKeyGeneratorSpi01()
94 class APSpecSpi implements AlgorithmParameterSpec {
DMacSpiTest.java29 import java.security.spec.AlgorithmParameterSpec;
57 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit()
91 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit()
130 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit()
238 protected void engineInit(Key key, AlgorithmParameterSpec params) in engineInit()
/libcore/ojluni/src/main/java/java/security/
DAlgorithmParametersSpi.java29 import java.security.spec.AlgorithmParameterSpec;
63 protected abstract void engineInit(AlgorithmParameterSpec paramSpec) in engineInit()
116 <T extends AlgorithmParameterSpec>
DAlgorithmParameterGeneratorSpi.java28 import java.security.spec.AlgorithmParameterSpec;
78 protected abstract void engineInit(AlgorithmParameterSpec genParamSpec, in engineInit()
DKeyPairGeneratorSpi.java28 import java.security.spec.AlgorithmParameterSpec;
92 public void initialize(AlgorithmParameterSpec params, in initialize()
/libcore/ojluni/annotations/flagged_api/java/security/spec/
DRSAKeyGenParameterSpec.annotated.java30 public class RSAKeyGenParameterSpec implements java.security.spec.AlgorithmParameterSpec {
35 …keysize, java.math.BigInteger publicExponent, java.security.spec.AlgorithmParameterSpec keyParams)… in RSAKeyGenParameterSpec()
42 public java.security.spec.AlgorithmParameterSpec getKeyParams() { throw new RuntimeException("Stub!… in getKeyParams()
DPSSParameterSpec.annotated.java30 public class PSSParameterSpec implements java.security.spec.AlgorithmParameterSpec {
32 …lang.String mdName, java.lang.String mgfName, java.security.spec.AlgorithmParameterSpec mgfSpec, i… in PSSParameterSpec()
40 public java.security.spec.AlgorithmParameterSpec getMGFParameters() { throw new RuntimeException("S… in getMGFParameters()
/libcore/luni/src/test/java/tests/security/spec/
DRSAKeyGenParameterSpecTest.java28 import java.security.spec.AlgorithmParameterSpec;
44 AlgorithmParameterSpec aps = in testRSAKeyGenParameterSpec()
70 AlgorithmParameterSpec aps = new PSSParameterSpec(20); in testGetKeyParams()
/libcore/ojluni/src/main/java/java/security/interfaces/
DXECKey.java27 import java.security.spec.AlgorithmParameterSpec;
45 AlgorithmParameterSpec getParams(); in getParams()
DRSAKey.java29 import java.security.spec.AlgorithmParameterSpec;
65 default AlgorithmParameterSpec getParams() { in getParams()

123456