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