/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | AlgorithmParametersSpi.java | 23 Class paramSpec) in engineGetParameterSpec() argument 26 if (paramSpec == null) in engineGetParameterSpec() 31 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 69 Class paramSpec) in localEngineGetParameterSpec() argument 72 if (paramSpec == DSAParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 81 AlgorithmParameterSpec paramSpec) in engineInit() argument 84 if (!(paramSpec instanceof DSAParameterSpec)) in engineInit() 89 this.currentSpec = (DSAParameterSpec)paramSpec; in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | AlgorithmParametersSpi.java | 23 Class paramSpec) in engineGetParameterSpec() argument 26 if (paramSpec == null) in engineGetParameterSpec() 31 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 73 Class paramSpec) in localEngineGetParameterSpec() argument 76 if (paramSpec == DHParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 85 AlgorithmParameterSpec paramSpec) in engineInit() argument 88 if (!(paramSpec instanceof DHParameterSpec)) in engineInit() 93 this.currentSpec = (DHParameterSpec)paramSpec; in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | AlgorithmParametersSpi.java | 33 Class paramSpec) in engineGetParameterSpec() argument 36 if (paramSpec == null) in engineGetParameterSpec() 41 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 44 protected abstract AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) in localEngineGetParameterSpec() argument 91 Class paramSpec) in localEngineGetParameterSpec() argument 94 if (paramSpec == OAEPParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 103 AlgorithmParameterSpec paramSpec) in engineInit() argument 106 if (!(paramSpec instanceof OAEPParameterSpec)) in engineInit() 111 this.currentSpec = (OAEPParameterSpec)paramSpec; in engineInit() 203 Class paramSpec) in localEngineGetParameterSpec() argument [all …]
|
D | CipherSpi.java | 49 private AlgorithmParameterSpec paramSpec; field in CipherSpi 97 paramSpec = pSpec; in initFromSpec() 148 if (paramSpec != null) in engineGetParameters() 153 engineParams.init(paramSpec); in engineGetParameters() 304 paramSpec = params; in engineInit() 375 AlgorithmParameterSpec paramSpec = null; in engineInit() local 381 paramSpec = params.getParameterSpec(OAEPParameterSpec.class); in engineInit() 390 engineInit(opmode, key, paramSpec, random); in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | IvAlgorithmParameters.java | 43 Class paramSpec) in localEngineGetParameterSpec() argument 46 if (paramSpec == IvParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 55 AlgorithmParameterSpec paramSpec) in engineInit() argument 58 if (!(paramSpec instanceof IvParameterSpec)) in engineInit() 63 this.iv = ((IvParameterSpec)paramSpec).getIV(); in engineInit()
|
D | BaseAlgorithmParameters.java | 16 Class paramSpec) in engineGetParameterSpec() argument 19 if (paramSpec == null) in engineGetParameterSpec() 24 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 27 protected abstract AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) in localEngineGetParameterSpec() argument
|
D | BaseWrapCipher.java | 211 AlgorithmParameterSpec paramSpec = null; in engineInit() local 219 paramSpec = params.getParameterSpec(availableSpecs[i]); in engineInit() 228 if (paramSpec == null) in engineInit() 235 engineInit(opmode, key, paramSpec, random); in engineInit()
|
D | BaseStreamCipher.java | 284 AlgorithmParameterSpec paramSpec = null; in engineInit() local 292 paramSpec = params.getParameterSpec(availableSpecs[i]); in engineInit() 301 if (paramSpec == null) in engineInit() 307 engineInit(opmode, key, paramSpec, random); in engineInit()
|
D | BaseBlockCipher.java | 1004 AlgorithmParameterSpec paramSpec = null; in engineInit() local 1017 paramSpec = params.getParameterSpec(availableSpecs[i]); in engineInit() 1026 if (paramSpec == null) in engineInit() 1032 engineInit(opmode, key, paramSpec, random); in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | GcmSpecUtil.java | 21 static boolean isGcmSpec(AlgorithmParameterSpec paramSpec) in isGcmSpec() argument 23 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec() 51 static GCMParameters extractGcmParameters(AlgorithmParameterSpec paramSpec) in extractGcmParameters() argument 59 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
|
D | PBEPKCS12.java | 52 Class paramSpec) in localEngineGetParameterSpec() argument 55 if (paramSpec == PBEParameterSpec.class) in localEngineGetParameterSpec() 65 AlgorithmParameterSpec paramSpec) in engineInit() argument 68 if (!(paramSpec instanceof PBEParameterSpec)) in engineInit() 73 PBEParameterSpec pbeSpec = (PBEParameterSpec)paramSpec; in engineInit()
|
D | AES.java | 661 protected void engineInit(AlgorithmParameterSpec paramSpec) in engineInit() argument 664 if (GcmSpecUtil.isGcmSpec(paramSpec)) in engineInit() 666 gcmParams = GcmSpecUtil.extractGcmParameters(paramSpec); in engineInit() 668 else if (paramSpec instanceof AEADParameterSpec) in engineInit() 670 …gcmParams = new GCMParameters(((AEADParameterSpec)paramSpec).getNonce(), ((AEADParameterSpec)param… in engineInit() 674 …arameterSpecException("AlgorithmParameterSpec class not recognized: " + paramSpec.getClass().getNa… in engineInit() 717 protected AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) in localEngineGetParameterSpec() argument 720 if (paramSpec == AlgorithmParameterSpec.class || GcmSpecUtil.isGcmSpec(paramSpec)) in localEngineGetParameterSpec() 728 if (paramSpec == AEADParameterSpec.class) in localEngineGetParameterSpec() 732 if (paramSpec == IvParameterSpec.class) in localEngineGetParameterSpec() [all …]
|
D | PBES2AlgorithmParameters.java | 112 AlgorithmParameterSpec paramSpec) in engineInit() argument 115 if (!(paramSpec instanceof PBEParameterSpec)) in engineInit() 121 PBEParameterSpec pbeSpec = (PBEParameterSpec)paramSpec; in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | AlgorithmParametersSpi.java | 102 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> paramSpec) in engineGetParameterSpec() argument 105 …if (ECParameterSpec.class.isAssignableFrom(paramSpec) || paramSpec == AlgorithmParameterSpec.class) in engineGetParameterSpec() 109 else if (ECGenParameterSpec.class.isAssignableFrom(paramSpec)) in engineGetParameterSpec() 131 …w InvalidParameterSpecException("EC AlgorithmParameters cannot convert to " + paramSpec.getName()); in engineGetParameterSpec()
|
/external/bouncycastle/patches/ |
D | bcprov.patch | 4839 - protected void engineInit(AlgorithmParameterSpec paramSpec) 4884 - protected AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) 4905 - throw new InvalidParameterSpecException("unknown parameter spec: " + paramSpec.getName… 4914 + // protected void engineInit(AlgorithmParameterSpec paramSpec) 4959 + // protected AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) 4980 + // throw new InvalidParameterSpecException("unknown parameter spec: " + paramSpec.getN… 6182 - Class paramSpec) 6185 - if (paramSpec == RC2ParameterSpec.class) 6200 - if (paramSpec == IvParameterSpec.class) 6209 - AlgorithmParameterSpec paramSpec) [all …]
|