com.atlassian.jira.security.auth.trustedapps
Class KeyFactory.InvalidPrivateKey

java.lang.Object
  extended by com.atlassian.jira.security.auth.trustedapps.KeyFactory.InvalidPrivateKey
All Implemented Interfaces:
Serializable, Key, PrivateKey
Enclosing class:
KeyFactory

public static class KeyFactory.InvalidPrivateKey
extends Object
implements PrivateKey

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

Field Summary
 
Fields inherited from interface java.security.PrivateKey
serialVersionUID
 
Constructor Summary
KeyFactory.InvalidPrivateKey(Exception cause)
           
 
Method Summary
 String getAlgorithm()
           
 Exception getCause()
           
 byte[] getEncoded()
           
 String getFormat()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Constructor Detail

KeyFactory.InvalidPrivateKey

public KeyFactory.InvalidPrivateKey(Exception cause)
Method Detail

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.