HomeSort by relevance Sort by last modified time
    Searched refs:PSource (Results 1 - 25 of 29) sorted by null

1 2

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
PSourceTest.java 26 import javax.crypto.spec.PSource;
44 new PSource.PSpecified(null);
50 assertEquals("The PSource.PSpecified DEFAULT value should be byte[0]",
51 0, PSource.PSpecified.DEFAULT.getValue().length);
54 PSource.PSpecified ps = new PSource.PSpecified(p);
69 PSource.PSpecified ps = new PSource.PSpecified(p);
83 * PSource(String pSrcName) method testing. Tests that returned value is
88 new PSource(null) {}
    [all...]
OAEPParameterSpecTest.java 29 import javax.crypto.spec.PSource;
41 * mgfSpec, PSource pSrc) method testing. Tests that NullPointerException
50 PSource pSrc = PSource.PSpecified.DEFAULT;
88 + "PSource.PSpecified.DEFAULT",
90 == PSource.PSpecified.DEFAULT);
100 PSource pSrc = PSource.PSpecified.DEFAULT;
116 PSource pSrc = PSource.PSpecified.DEFAULT
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/spec/
PSource.java 43 public class PSource {
50 * specified PSource algorithm.
56 protected PSource(String pSrcName) {
58 throw new NullPointerException("pSource algorithm is null");
63 * Returns the PSource algorithm name.
65 * @return the PSource algorithm name.
77 public static final class PSpecified extends PSource {
OAEPParameterSpec.java 68 * source of encoding input -- PSource.PSpecified.DEFAULT
71 * @see PSource
82 private PSource pSrc = PSource.PSpecified.DEFAULT;
115 PSource pSrc) {
165 public PSource getPSource() {
  /libcore/luni/src/test/java/libcore/javax/crypto/spec/
AlgorithmParametersTestOAEP.java 26 import javax.crypto.spec.PSource;
99 super("OAEP", new AlgorithmParameterAsymmetricHelper("RSA"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT));
113 "SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT);
121 new PSource.PSpecified(new byte[] {1, 2, 3, 4}));
129 "SHA-1", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified.DEFAULT);
145 Arrays.equals(PSource.PSpecified.DEFAULT.getValue(),
146 ((PSource.PSpecified) producedSpec.getPSource()).getValue()));
158 Arrays.equals(PSource.PSpecified.DEFAULT.getValue(),
159 ((PSource.PSpecified) producedSpec.getPSource()).getValue()));
172 ((PSource.PSpecified) producedSpec.getPSource()).getValue()))
    [all...]
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreRSACipherSpi.java 40 import javax.crypto.spec.PSource;
232 PSource pSource = spec.getPSource();
233 if (!(pSource instanceof PSource.PSpecified)) {
235 "Unsupported source of encoding input P: " + pSource
236 + ". Only pSpecifiedEmpty (PSource.PSpecified.DEFAULT) supported");
238 PSource.PSpecified pSourceSpecified = (PSource.PSpecified) pSource;
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
CipherSpi.java 22 import javax.crypto.spec.PSource;
96 cipher = new OAEPEncoding(new RSABlindedEngine(), digest, ((PSource.PSpecified)pSpec.getPSource()).getValue());
214 initFromSpec(new OAEPParameterSpec("MD5", "MGF1", new MGF1ParameterSpec("MD5"), PSource.PSpecified.DEFAULT));
226 initFromSpec(new OAEPParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), PSource.PSpecified.DEFAULT));
230 initFromSpec(new OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT));
234 initFromSpec(new OAEPParameterSpec("SHA-384", "MGF1", MGF1ParameterSpec.SHA384, PSource.PSpecified.DEFAULT));
238 initFromSpec(new OAEPParameterSpec("SHA-512", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified.DEFAULT));
243 // initFromSpec(new OAEPParameterSpec("SHA3-224", "MGF1", new MGF1ParameterSpec("SHA3-224"), PSource.PSpecified.DEFAULT));
247 // initFromSpec(new OAEPParameterSpec("SHA3-256", "MGF1", new MGF1ParameterSpec("SHA3-256"), PSource.PSpecified.DEFAULT));
251 // initFromSpec(new OAEPParameterSpec("SHA3-384", "MGF1", new MGF1ParameterSpec("SHA3-384"), PSource.PSpecified.DEFAULT))
    [all...]
AlgorithmParametersSpi.java 10 import javax.crypto.spec.PSource;
64 PSource.PSpecified pSource = (PSource.PSpecified)currentSpec.getPSource();
66 PKCSObjectIdentifiers.id_pSpecified, new DEROctetString(pSource.getValue()));
131 new PSource.PSpecified(ASN1OctetString.getInstance(oaepP.getPSourceAlgorithm().getParameters()).getOctets()));
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLCipherRSA.java 48 import javax.crypto.spec.PSource;
430 final PSource pSrc;
432 pSrc = PSource.PSpecified.DEFAULT;
434 pSrc = new PSource.PSpecified(label);
556 PSource pSource = spec.getPSource();
557 if (!"PSpecified".equals(pSource.getAlgorithm())
558 || !(pSource instanceof PSource.PSpecified)) {
560 "Only PSpecified accepted for PSource");
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/jre/lib/
jce.jar 
  /prebuilts/jdk/jdk8/linux-x86/jre/lib/
jce.jar 
  /cts/tests/tests/keystore/src/android/keystore/cts/
CipherTest.java 52 import javax.crypto.spec.PSource;
455 PSource.PSpecified.DEFAULT));
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java 65 import javax.crypto.spec.PSource;
    [all...]
  /external/clang/lib/CodeGen/
CGOpenMPRuntime.cpp 458 /// char const *psource; /**< String describing the source location.
728 CGM.Int8PtrTy /* psource */, nullptr);
    [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/22/
android.jar 
  /prebuilts/sdk/23/
android.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/8/
android.jar 

Completed in 429 milliseconds

1 2