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

  Modifier and Type
  Method
  Description
  `RSAPrivateCrtKeySpec`
  `getKeySpec()`
  `PrivateKey`
  `getPrivateKey()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RSAPrivateKeyDecoder

    public RSAPrivateKeyDecoder(byte[] bytes)

  - ### RSAPrivateKeyDecoder

    public RSAPrivateKeyDecoder(InputStream is)

- ## Method Details

  - ### getKeySpec

    public RSAPrivateCrtKeySpec getKeySpec() throws IOException
    Throws:
      `IOException`

  - ### getPrivateKey

    public PrivateKey getPrivateKey() throws NoSuchAlgorithmException, InvalidKeySpecException, IOException
    Throws:
      `NoSuchAlgorithmException`
      `InvalidKeySpecException`
      `IOException`