public class PKCS1EncodedKeySpec extends Object
Constructor and Description |
---|
PKCS1EncodedKeySpec(byte[] keyBytes)
Construct a new 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 © 2008–2017 Province of British Columbia. All rights reserved.