java.security
Class AlgorithmParameters
java.lang.Object
java.security.AlgorithmParameters
public class AlgorithmParameters
- extends Object
AlgorithmParameters
protected AlgorithmParameters(AlgorithmParametersSpi keyFacSpi,
Provider provider,
String algorithm)
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.
Please submit a feedback, bug or feature