|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.message.token.BinarySecurity
org.apache.ws.security.message.token.X509Security
public class X509Security
X509 Security Token.
| Field Summary | |
|---|---|
static java.lang.String |
X509_V3_TYPE
|
| Fields inherited from class org.apache.ws.security.message.token.BinarySecurity |
|---|
BASE64_ENCODING, element, TOKEN_BST, TOKEN_KI |
| Constructor Summary | |
|---|---|
X509Security(org.w3c.dom.Document doc)
This constructor creates a new X509 certificate element. |
|
X509Security(org.w3c.dom.Element elem)
This constructor creates a new X509 certificate object and initializes it from the data contained in the element. |
|
X509Security(org.w3c.dom.Element elem,
boolean bspCompliant)
This constructor creates a new X509 certificate object and initializes it from the data contained in the element. |
|
| Method Summary | |
|---|---|
java.security.cert.X509Certificate |
getX509Certificate(Crypto crypto)
Gets the X509Certificate certificate. |
void |
setX509Certificate(java.security.cert.X509Certificate cert)
Sets the X509Certificate. |
| Methods inherited from class org.apache.ws.security.message.token.BinarySecurity |
|---|
addWSSENamespace, addWSUNamespace, equals, getElement, getEncodingType, getFirstNode, getID, getToken, getValueType, hashCode, setEncodingType, setID, setToken, setValueType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String X509_V3_TYPE
| Constructor Detail |
|---|
public X509Security(org.w3c.dom.Element elem)
throws WSSecurityException
elem - the element containing the X509 certificate data
WSSecurityException
public X509Security(org.w3c.dom.Element elem,
boolean bspCompliant)
throws WSSecurityException
elem - the element containing the X509 certificate databspCompliant - Whether the token is processed according to the BSP spec
WSSecurityExceptionpublic X509Security(org.w3c.dom.Document doc)
doc - | Method Detail |
|---|
public java.security.cert.X509Certificate getX509Certificate(Crypto crypto)
throws WSSecurityException
WSSecurityException
public void setX509Certificate(java.security.cert.X509Certificate cert)
throws WSSecurityException
cert - the X509 certificate to store in the element
WSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||