Package tigase.cert
Class RSAPrivateKeyDecoder
- java.lang.Object
-
- tigase.cert.RSAPrivateKeyDecoder
-
public class RSAPrivateKeyDecoder extends java.lang.Object
Created: Oct 9, 2010 9:16:55 PM- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
-
Constructor Summary
Constructors Constructor Description RSAPrivateKeyDecoder(byte[] bytes)
RSAPrivateKeyDecoder(java.io.InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.spec.RSAPrivateCrtKeySpec
getKeySpec()
java.security.PrivateKey
getPrivateKey()
-
-
-
Method Detail
-
getKeySpec
public java.security.spec.RSAPrivateCrtKeySpec getKeySpec() throws java.io.IOException
- Throws:
java.io.IOException
-
getPrivateKey
public java.security.PrivateKey getPrivateKey() throws java.security.NoSuchAlgorithmException, java.security.spec.InvalidKeySpecException, java.io.IOException
- Throws:
java.security.NoSuchAlgorithmException
java.security.spec.InvalidKeySpecException
java.io.IOException
-
-