Home
last modified time | relevance | path

Searched refs:mgfSpec (Results 1 – 4 of 4) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java60 MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec)currentSpec.getMGFParameters(); in engineGetEncoded() local
63 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
180 MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec)pssSpec.getMGFParameters(); in engineGetEncoded() local
183 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOAEPParameters.java196 MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec) spec.getMGFParameters(); in engineGetEncoded() local
197 if (!mgfSpec.getDigestAlgorithm().equals("SHA-1")) { in engineGetEncoded()
205 mgfParamsRef, NAME_TO_OID.get(mgfSpec.getDigestAlgorithm())); in engineGetEncoded()
DOpenSSLSignature.java401 AlgorithmParameterSpec mgfSpec = spec.getMGFParameters(); in engineSetParameter() local
402 if (!(mgfSpec instanceof MGF1ParameterSpec)) { in engineSetParameter()
404 "Unsupported MGF parameters: " + mgfSpec + ". Only " in engineSetParameter()
DOpenSSLCipherRSA.java562 AlgorithmParameterSpec mgfSpec = spec.getMGFParameters(); in readOAEPParameters() local
565 || !(mgfSpec instanceof MGF1ParameterSpec)) { in readOAEPParameters()
570 MGF1ParameterSpec mgf1spec = (MGF1ParameterSpec) mgfSpec; in readOAEPParameters()