public class SshDssKeyPair extends SshKeyPair
Constructor and Description |
---|
SshDssKeyPair() |
Modifier and Type | Method and Description |
---|---|
SshPrivateKey |
decodePrivateKey(byte[] encoded) |
SshPublicKey |
decodePublicKey(byte[] encoded) |
void |
generate(int bits) |
getPrivateKey, getPublicKey, setPrivateKey, setPrivateKey, setPublicKey
public SshPrivateKey decodePrivateKey(byte[] encoded) throws InvalidSshKeyException
decodePrivateKey
in class SshKeyPair
encoded
- InvalidSshKeyException
public SshPublicKey decodePublicKey(byte[] encoded) throws InvalidSshKeyException
decodePublicKey
in class SshKeyPair
encoded
- InvalidSshKeyException
public void generate(int bits)
generate
in class SshKeyPair
bits
- Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.