public class RSAPrivateKeyDecoder
extends java.lang.Object
| Constructor and Description |
|---|
RSAPrivateKeyDecoder(byte[] bytes)
Constructs ...
|
RSAPrivateKeyDecoder(java.io.InputStream is)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
java.security.spec.RSAPrivateCrtKeySpec |
getKeySpec()
Method description
|
java.security.PrivateKey |
getPrivateKey()
Method description
|
public RSAPrivateKeyDecoder(byte[] bytes)
bytes - public RSAPrivateKeyDecoder(java.io.InputStream is)
is - public java.security.spec.RSAPrivateCrtKeySpec getKeySpec()
throws java.io.IOException
java.io.IOExceptionpublic java.security.PrivateKey getPrivateKey()
throws java.security.NoSuchAlgorithmException,
java.security.spec.InvalidKeySpecException,
java.io.IOException
java.io.IOExceptionjava.security.spec.InvalidKeySpecExceptionjava.security.NoSuchAlgorithmException