com.atlassian.jira.security.auth.trustedapps
Class KeyFactory.InvalidPublicKey
java.lang.Object
com.atlassian.jira.security.auth.trustedapps.KeyFactory.InvalidPublicKey
- All Implemented Interfaces:
- Serializable, Key, PublicKey
- Enclosing class:
- KeyFactory
public static class KeyFactory.InvalidPublicKey
- extends Object
- implements PublicKey
If there are problems creating a key, one of these will be returned instead.
Rather than returning the actual key, the toString() will return the causal exception.
- See Also:
- Serialized Form
KeyFactory.InvalidPublicKey
public KeyFactory.InvalidPublicKey(Exception cause)
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interface Key
getFormat
public String getFormat()
- Specified by:
getFormat
in interface Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface Key
toString
public String toString()
- Overrides:
toString
in class Object
getCause
public Exception getCause()
Copyright © 2002-2012 Atlassian. All Rights Reserved.