public class PKCS1EncodedKeySpec extends Object
Constructor and Description |
---|
PKCS1EncodedKeySpec(byte[] keyBytes)
Create a PKCS#1 keyspec from DER encoded buffer
|
Modifier and Type | Method and Description |
---|---|
RSAPrivateCrtKeySpec |
getKeySpec()
Get the key spec that JCE understands.
|
public PKCS1EncodedKeySpec(byte[] keyBytes) throws IOException
keyBytes
- DER encoded octet streamIOException
public RSAPrivateCrtKeySpec getKeySpec()
Copyright © 2018 JBoss by Red Hat. All rights reserved.