Searched refs:mgfSpec (Results 1 – 4 of 4) sorted by relevance
60 MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec)currentSpec.getMGFParameters(); in engineGetEncoded() local63 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()180 MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec)pssSpec.getMGFParameters(); in engineGetEncoded() local183 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
196 MGF1ParameterSpec mgfSpec = (MGF1ParameterSpec) spec.getMGFParameters(); in engineGetEncoded() local197 if (!mgfSpec.getDigestAlgorithm().equals("SHA-1")) { in engineGetEncoded()205 mgfParamsRef, NAME_TO_OID.get(mgfSpec.getDigestAlgorithm())); in engineGetEncoded()
401 AlgorithmParameterSpec mgfSpec = spec.getMGFParameters(); in engineSetParameter() local402 if (!(mgfSpec instanceof MGF1ParameterSpec)) { in engineSetParameter()404 "Unsupported MGF parameters: " + mgfSpec + ". Only " in engineSetParameter()
562 AlgorithmParameterSpec mgfSpec = spec.getMGFParameters(); in readOAEPParameters() local565 || !(mgfSpec instanceof MGF1ParameterSpec)) { in readOAEPParameters()570 MGF1ParameterSpec mgf1spec = (MGF1ParameterSpec) mgfSpec; in readOAEPParameters()