@Override
    protected void engineInit(AlgorithmParameterSpec algorithmParameterSpec)
            throws InvalidParameterSpecException {
        if (algorithmParameterSpec instanceof OAEPParameterSpec) {
            this.spec = (OAEPParameterSpec) algorithmParameterSpec;
        } else {
            throw new InvalidParameterSpecException("Only OAEPParameterSpec is supported");
        }
    }
AlgorithmParameters implementation for OAEP.  The only supported encoding format is ASN.1,
as specified in RFC 4055 section 4.1.
common/src/main/java/org/conscrypt/OAEPParameters.java