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 and Description
    `RSAPrivateKeyDecoder(byte[] bytes)`
    `RSAPrivateKeyDecoder(InputStream is)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RSAPrivateCrtKeySpec` | `getKeySpec()`
    `PrivateKey` | `getPrivateKey()`

    - ### 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)

    - #### RSAPrivateKeyDecoder

          public RSAPrivateKeyDecoder(InputStream is)

  - ### Method Detail

    - #### getKeySpec

          public RSAPrivateCrtKeySpec getKeySpec()
                                          throws IOException

      Throws:
        `IOException`

    - #### getPrivateKey

          public PrivateKey getPrivateKey()
                                   throws NoSuchAlgorithmException,
                                          InvalidKeySpecException,
                                          IOException

      Throws:
        `NoSuchAlgorithmException`
        `InvalidKeySpecException`
        `IOException`

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.