electric.soap.security.tokens
Class X509v3SecurityToken
java.lang.Object
electric.soap.security.tokens.SecurityToken
electric.soap.security.tokens.BinarySecurityToken
electric.soap.security.tokens.X509v3SecurityToken
- All Implemented Interfaces:
- IWSSConstants
- public class X509v3SecurityToken
- extends BinarySecurityToken
- implements IWSSConstants
X509v3SecurityToken
...
Only wsse:Base64Encoding is currently supported.
- Author:
- webMethods
Method Summary |
java.security.cert.X509Certificate |
getCertificate()
Return the associated X509 certificate. |
Element |
getElement()
Generate a WS-Security compliant XML element based
on the contents of this token. |
void |
setCertificate(java.security.cert.X509Certificate cert)
Set the token's associated X509 certificate. |
void |
setElement(Element token)
Set the fields of the token based on the given
XML element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
valueType
protected java.lang.String valueType
encodingType
protected java.lang.String encodingType
certificate
protected java.security.cert.X509Certificate certificate
X509v3SecurityToken
public X509v3SecurityToken()
X509v3SecurityToken
public X509v3SecurityToken(java.security.cert.X509Certificate certificate)
- Parameters:
certificate
-
getElement
public Element getElement()
- Description copied from class:
SecurityToken
- Generate a WS-Security compliant XML element based
on the contents of this token.
- Specified by:
getElement
in class SecurityToken
- Returns:
- an XML representation of the token.
setElement
public void setElement(Element token)
- Description copied from class:
SecurityToken
- Set the fields of the token based on the given
XML element.
- Specified by:
setElement
in class SecurityToken
- Parameters:
token
-
getCertificate
public java.security.cert.X509Certificate getCertificate()
- Return the associated X509 certificate.
- Returns:
- the certificate associated with this token.
setCertificate
public void setCertificate(java.security.cert.X509Certificate cert)
- Set the token's associated X509 certificate.
- Parameters:
cert
-
copyright© 2001-2004 by webMethods All Rights Reserved.