org.apache.axis2.security.trust.token
Class KeySize
java.lang.Object
org.apache.axis2.security.trust.token.AbstractToken
org.apache.axis2.security.trust.token.ValueToken
org.apache.axis2.security.trust.token.KeySize
- public class KeySize
- extends ValueToken
Method Summary |
int |
getKeySize()
Returns the key size if set otherwise returns -1 |
protected QName |
getToken()
|
void |
setKeySize(int keySize)
Sets the key size value of the wst:KeySize element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN
public static final QName TOKEN
KeySize
public KeySize()
KeySize
public KeySize(OMElement elem)
throws TrustException
- Parameters:
elem
-
- Throws:
TrustException
setKeySize
public void setKeySize(int keySize)
- Sets the key size value of the
wst:KeySize
element
- Parameters:
keySize
-
getKeySize
public int getKeySize()
- Returns the key size if set otherwise returns -1
- Returns:
- Returns the key size if set otherwise returns -1
getToken
protected QName getToken()
- Specified by:
getToken
in class AbstractToken