|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.security.opt.impl.keyinfo.BinarySecurityToken
public class BinarySecurityToken
| Constructor Summary | |
|---|---|
BinarySecurityToken(BinarySecurityTokenType token,
com.sun.xml.ws.api.SOAPVersion sv)
Creates a new instance of BinarySecurityToken |
|
| Method Summary | ||
|---|---|---|
java.security.cert.X509Certificate |
getCertificate()
|
|
java.lang.String |
getEncodingType()
|
|
java.lang.String |
getId()
|
|
java.lang.String |
getLocalPart()
Gets the local name of this header element. |
|
java.lang.String |
getNamespaceURI()
|
|
byte[] |
getTokenValue()
returns base64 decoded value of the binary securt token value |
|
java.lang.String |
getValueType()
|
|
|
readAsJAXB(com.sun.xml.bind.api.Bridge<T> bridge)
|
|
|
readAsJAXB(com.sun.xml.bind.api.Bridge<T> bridge,
com.sun.xml.bind.api.BridgeContext context)
|
|
|
readAsJAXB(javax.xml.bind.Unmarshaller unmarshaller)
|
|
javax.xml.stream.XMLStreamReader |
readHeader()
marshalls the BST element into the XMLStreamBuffer |
|
boolean |
refersToSecHdrWithId(java.lang.String id)
|
|
void |
setId(java.lang.String id)
|
|
void |
writeTo(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ErrorHandler errorHandler)
|
|
void |
writeTo(java.io.OutputStream os)
|
|
void |
writeTo(javax.xml.soap.SOAPMessage saaj)
|
|
void |
writeTo(javax.xml.stream.XMLStreamWriter streamWriter)
writes the binary security token to the XMLStreamWriter |
|
void |
writeTo(javax.xml.stream.XMLStreamWriter streamWriter,
java.util.HashMap props)
writes the binary security token to the XMLStreamWriter |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinarySecurityToken(BinarySecurityTokenType token,
com.sun.xml.ws.api.SOAPVersion sv)
| Method Detail |
|---|
public java.lang.String getValueType()
getValueType in interface BinarySecurityTokenpublic java.lang.String getEncodingType()
getEncodingType in interface BinarySecurityTokenpublic java.lang.String getId()
getId in interface TokengetId in interface SecurityElementpublic void setId(java.lang.String id)
setId in interface SecurityElement@NotNull public java.lang.String getNamespaceURI()
getNamespaceURI in interface SecurityElement@NotNull public java.lang.String getLocalPart()
SecurityElement
getLocalPart in interface SecurityElement
public javax.xml.stream.XMLStreamReader readHeader()
throws javax.xml.stream.XMLStreamException
readHeader in interface SecurityElementjavax.xml.stream.XMLStreamException
public <T> T readAsJAXB(javax.xml.bind.Unmarshaller unmarshaller)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public <T> T readAsJAXB(com.sun.xml.bind.api.Bridge<T> bridge,
com.sun.xml.bind.api.BridgeContext context)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public <T> T readAsJAXB(com.sun.xml.bind.api.Bridge<T> bridge)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(javax.xml.stream.XMLStreamWriter streamWriter)
throws javax.xml.stream.XMLStreamException
writeTo in interface SecurityElementWriterstreamWriter - XMLStreamWriter
javax.xml.stream.XMLStreamException
public void writeTo(javax.xml.soap.SOAPMessage saaj)
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public void writeTo(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ErrorHandler errorHandler)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic byte[] getTokenValue()
getTokenValue in interface BinarySecurityTokenpublic void writeTo(java.io.OutputStream os)
writeTo in interface SecurityElementWriterpublic boolean refersToSecHdrWithId(java.lang.String id)
refersToSecHdrWithId in interface SecurityHeaderElementpublic java.security.cert.X509Certificate getCertificate()
public void writeTo(javax.xml.stream.XMLStreamWriter streamWriter,
java.util.HashMap props)
throws javax.xml.stream.XMLStreamException
writeTo in interface SecurityElementWriterstreamWriter - javax.xml.stream.XMLStreamWriterprops - HashMap
javax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||