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