Build 1.0_r1(from source)

java.security
Class AlgorithmParameters

java.lang.Object
  extended by java.security.AlgorithmParameters

public class AlgorithmParameters
extends Object


Constructor Summary
protected AlgorithmParameters(AlgorithmParametersSpi keyFacSpi, Provider provider, String algorithm)
           
 
Method Summary
 String getAlgorithm()
           
 byte[] getEncoded()
           
 byte[] getEncoded(String format)
           
static AlgorithmParameters getInstance(String algorithm)
           
static AlgorithmParameters getInstance(String algorithm, Provider provider)
           
static AlgorithmParameters getInstance(String algorithm, String provider)
           
<T extends AlgorithmParameterSpec>
T
getParameterSpec(Class<T> paramSpec)
           
 Provider getProvider()
           
 void init(AlgorithmParameterSpec paramSpec)
           
 void init(byte[] params)
           
 void init(byte[] params, String format)
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlgorithmParameters

protected AlgorithmParameters(AlgorithmParametersSpi keyFacSpi,
                              Provider provider,
                              String algorithm)
Method Detail

getInstance

public static AlgorithmParameters getInstance(String algorithm)
                                       throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

getInstance

public static AlgorithmParameters getInstance(String algorithm,
                                              String provider)
                                       throws NoSuchAlgorithmException,
                                              NoSuchProviderException
Throws:
NoSuchAlgorithmException
NoSuchProviderException

getInstance

public static AlgorithmParameters getInstance(String algorithm,
                                              Provider provider)
                                       throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

getProvider

public final Provider getProvider()

getAlgorithm

public final String getAlgorithm()

init

public final void init(AlgorithmParameterSpec paramSpec)
                throws InvalidParameterSpecException
Throws:
InvalidParameterSpecException

init

public final void init(byte[] params)
                throws IOException
Throws:
IOException

init

public final void init(byte[] params,
                       String format)
                throws IOException
Throws:
IOException

getParameterSpec

public final <T extends AlgorithmParameterSpec> T getParameterSpec(Class<T> paramSpec)
                                                        throws InvalidParameterSpecException
Throws:
InvalidParameterSpecException

getEncoded

public final byte[] getEncoded()
                        throws IOException
Throws:
IOException

getEncoded

public final byte[] getEncoded(String format)
                        throws IOException
Throws:
IOException

toString

public final String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature