public class MockKeyManager extends java.lang.Object implements KeyManager
Constructor and Description |
---|
MockKeyManager(java.lang.String encryptionKey) |
Modifier and Type | Method and Description |
---|---|
java.security.PrivateKey |
getPrivateKey() |
java.security.PublicKey |
getPublicKey() |
java.lang.String |
getPushKey() |
java.lang.String |
getSymmetricKey() |
public MockKeyManager(java.lang.String encryptionKey) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
public java.security.PublicKey getPublicKey()
getPublicKey
in interface KeyManager
public java.security.PrivateKey getPrivateKey()
getPrivateKey
in interface KeyManager
public java.lang.String getSymmetricKey()
getSymmetricKey
in interface KeyManager
public java.lang.String getPushKey()
getPushKey
in interface KeyManager