Package org.intermine.web.security
Interface KeyDecoder
-
- All Known Implementing Classes:
Base64PublicKeyDecoder
public interface KeyDecoder
Classes that can decode public keys from strings.- Author:
- Alex Kalderimis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.PublicKey
decode(java.lang.String input)
Decode the string and make the key.
-
-
-
Method Detail
-
decode
java.security.PublicKey decode(java.lang.String input) throws DecodingException
Decode the string and make the key.- Parameters:
input
- The public key, in an encoded form.- Returns:
- the decoded key.
- Throws:
DecodingException
- If we cannot decode the key.
-
-