tigase.cert
Class RSAPrivateKeyDecoder

java.lang.Object
  extended by tigase.cert.RSAPrivateKeyDecoder

public class RSAPrivateKeyDecoder
extends Object

Created: Oct 9, 2010 9:16:55 PM

Version:
$Rev$
Author:
Artur Hefczyc

Constructor Summary
RSAPrivateKeyDecoder(byte[] bytes)
          Constructs ...
RSAPrivateKeyDecoder(InputStream is)
          Constructs ...
 
Method Summary
 RSAPrivateCrtKeySpec getKeySpec()
          Method description
 PrivateKey getPrivateKey()
          Method description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPrivateKeyDecoder

public RSAPrivateKeyDecoder(byte[] bytes)
Constructs ...

Parameters:
bytes -

RSAPrivateKeyDecoder

public RSAPrivateKeyDecoder(InputStream is)
Constructs ...

Parameters:
is -
Method Detail

getKeySpec

public RSAPrivateCrtKeySpec getKeySpec()
                                throws IOException
Method description

Returns:
Throws:
IOException

getPrivateKey

public PrivateKey getPrivateKey()
                         throws NoSuchAlgorithmException,
                                InvalidKeySpecException,
                                IOException
Method description

Returns:
Throws:
IOException
InvalidKeySpecException
NoSuchAlgorithmException


Copyright © 2013 Tigase. All Rights Reserved.