Name

AlgorithmParametersSpi

Synopsis

This abstract class defines the service-provider interface for AlgorithmParameters. A security provider must implement a concrete subclass of this class for each cryptographic algorithm it supports. Applications never need to use or subclass this class.

public abstract class AlgorithmParametersSpi {
// Public Constructors
     public AlgorithmParametersSpi( );  
// Protected Instance Methods
     protected abstract byte[ ] engineGetEncoded( ) throws java.io.IOException;  
     protected abstract byte[ ] engineGetEncoded(String format) 
        throws java.io.IOException;  
     protected abstract <T extends java.security.spec.AlgorithmParameterSpec>
        T engineGetParameterSpec(Class<T> paramSpec) 
        throws java.security.spec.InvalidParameterSpecException;  
     protected abstract void engineInit(java.security.spec.
        AlgorithmParameterSpec paramSpec) 
        throws java.security.spec.InvalidParameterSpecException;  
     protected abstract void engineInit(byte[ ] params) 
        throws java.io.IOException;  
     protected abstract void engineInit(byte[ ] params, String format) 
        throws java.io.IOException;  
     protected abstract String engineToString( );  
}

Passed To

AlgorithmParameters.AlgorithmParameters( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.