public interface KeyProvider
Modifier and Type | Method and Description |
---|---|
java.security.PrivateKey |
getPrivate() |
java.security.PublicKey |
getPublic() |
KeyType |
getType() |
java.security.PrivateKey getPrivate() throws java.io.IOException
java.io.IOException
- if there is an I/O error retrieving the private keyjava.security.PublicKey getPublic() throws java.io.IOException
java.io.IOException
- if there is an I/O error retrieving the public key