public class PrivateKey extends Object
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
secretKey |
| Constructor and Description |
|---|
PrivateKey()
Initialize and generate the private key with the default key size
|
PrivateKey(byte[] keyBytes)
Initializes the private key with the provided bytes
|
PrivateKey(String secretKey)
Initializes the private key with the provided string
|
PrivateKey(String secretKey,
Encoder encoder)
Initializes the private key with the provided string and encoder
|
public PrivateKey()
public PrivateKey(byte[] keyBytes)
keyBytes - provided keypublic PrivateKey(String secretKey)
secretKey - provided keyCopyright © 2014 JBoss by Red Hat. All Rights Reserved.