public final <T extends AlgorithmParameterSpec>
        T getParameterSpec(Class<T> paramSpec)
        throws InvalidParameterSpecException
    {
        if (this.initialized == false) {
            throw new InvalidParameterSpecException("not initialized");
        }
        return paramSpi.engineGetParameterSpec(paramSpec);
    }
public final < T extends AlgorithmParameterSpec > T getParameterSpec ( Class < T > paramSpec ) throws InvalidParameterSpecException { if ( this . initialized == false ) { throw new InvalidParameterSpecException ( "not initialized" ) ; } return paramSpi . engineGetParameterSpec ( paramSpec ) ; }
Returns a (transparent) specification of this parameter object.
{@code paramSpec} identifies the specification class in which
the parameters should be returned. It could, for example, be
{@code DSAParameterSpec.class}, to indicate that the
parameters should be returned in an instance of the
{@code DSAParameterSpec} class.

@param <T> the type of the parameter specification to be returrned
@param paramSpec the specification class in which
the parameters should be returned.

@return the parameter specification.

@exception InvalidParameterSpecException if the requested parameter
specification is inappropriate for this parameter object, or if this
parameter object has not been initialized.