public class KSSecretKeyEntryTest
extends TestCase
KeyStore.SecretKeyEntry
class constructor and methodsConstructor and Description |
---|
KSSecretKeyEntryTest() |
Modifier and Type | Method and Description |
---|---|
void |
testGetSecretKey()
Test for
getSecretKey() method
Assertion: returns SecretKey from the given entry |
void |
testSecretKeyEntry()
Test for
SecretKeyEntry(SecretKey secretKey) constructor
Assertion: throws NullPointerException when secretKey is null |
void |
testToString()
Test for
toString() method
Assertion: returns non null string |
public void testSecretKeyEntry()
SecretKeyEntry(SecretKey secretKey)
constructor
Assertion: throws NullPointerException when secretKey is nullpublic void testGetSecretKey()
getSecretKey()
method
Assertion: returns SecretKey from the given entrypublic void testToString()
toString()
method
Assertion: returns non null string