public class OpenSSHKeyParsingTests extends SimpleTest
SimpleTest.TestExceptionOperation| Constructor and Description |
|---|
OpenSSHKeyParsingTests() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static void |
main(java.lang.String[] args) |
void |
performTest() |
void |
testDSA() |
void |
testECDSA_curvesFromSSHKeyGen() |
void |
testECDSA() |
void |
testECDSAEncodeOpenSSHFormat()
github #2240 - ensure encodePrivateKey for ECDSA emits the openssh-key-v1
envelope (not the raw RFC 5915 ECPrivateKey SEQUENCE) so the output is
compatible with OpenSSH and JSCH.
|
void |
testED25519() |
void |
testEncryptedKeys()
github #1733 - decryption of passphrase-protected openssh-key-v1 keys across the
OpenSSH cipher suite (bcrypt KDF).
|
void |
testFailures() |
void |
testRSA() |
public static void main(java.lang.String[] args)
public void testDSA()
throws java.lang.Exception
java.lang.Exceptionpublic void testECDSA_curvesFromSSHKeyGen()
throws java.lang.Exception
java.lang.Exceptionpublic void testECDSA()
throws java.lang.Exception
java.lang.Exceptionpublic void testED25519()
throws java.lang.Exception
java.lang.Exceptionpublic void testFailures()
throws java.lang.Exception
java.lang.Exceptionpublic void testEncryptedKeys()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getName()
getName in interface TestgetName in class SimpleTestpublic void performTest()
throws java.lang.Exception
performTest in class SimpleTestjava.lang.Exceptionpublic void testECDSAEncodeOpenSSHFormat()
throws java.lang.Exception
java.lang.Exceptionpublic void testRSA()
throws java.lang.Exception
java.lang.Exception