public class RSAPrivateKeyDecoder extends Object
Constructor and Description |
---|
RSAPrivateKeyDecoder(byte[] bytes)
Constructs ...
|
RSAPrivateKeyDecoder(InputStream is)
Constructs ...
|
Modifier and Type | Method and Description |
---|---|
RSAPrivateCrtKeySpec |
getKeySpec()
Method description
|
PrivateKey |
getPrivateKey()
Method description
|
public RSAPrivateKeyDecoder(byte[] bytes)
bytes
- public RSAPrivateKeyDecoder(InputStream is)
is
- public RSAPrivateCrtKeySpec getKeySpec() throws IOException
IOException
public PrivateKey getPrivateKey() throws NoSuchAlgorithmException, InvalidKeySpecException, IOException
IOException
InvalidKeySpecException
NoSuchAlgorithmException
Copyright © 2018 "Tigase, Inc.". All rights reserved.