|
||||||||||
| 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,
SOAPVersion sv)
Creates a new instance of BinarySecurityToken |
|
| Method Summary | ||
|---|---|---|
X509Certificate |
getCertificate()
|
|
String |
getEncodingType()
|
|
String |
getId()
|
|
String |
getLocalPart()
Gets the local name of this header element. |
|
String |
getNamespaceURI()
|
|
byte[] |
getTokenValue()
returns base64 decoded value of the binary securt token value |
|
String |
getValueType()
|
|
|
readAsJAXB(Bridge<T> bridge)
|
|
|
readAsJAXB(Bridge<T> bridge,
BridgeContext context)
|
|
|
readAsJAXB(Unmarshaller unmarshaller)
|
|
XMLStreamReader |
readHeader()
marshalls the BST element into the XMLStreamBuffer |
|
boolean |
refersToSecHdrWithId(String id)
|
|
void |
setId(String id)
|
|
void |
writeTo(ContentHandler contentHandler,
ErrorHandler errorHandler)
|
|
void |
writeTo(OutputStream os)
|
|
void |
writeTo(SOAPMessage saaj)
|
|
void |
writeTo(XMLStreamWriter streamWriter)
writes the binary security token to the XMLStreamWriter |
|
void |
writeTo(XMLStreamWriter streamWriter,
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,
SOAPVersion sv)
| Method Detail |
|---|
public String getValueType()
getValueType in interface BinarySecurityTokenpublic String getEncodingType()
getEncodingType in interface BinarySecurityTokenpublic String getId()
getId in interface TokengetId in interface SecurityElementpublic void setId(String id)
setId in interface SecurityElement@NotNull public String getNamespaceURI()
getNamespaceURI in interface SecurityElement@NotNull public String getLocalPart()
SecurityElement
getLocalPart in interface SecurityElement
public XMLStreamReader readHeader()
throws XMLStreamException
readHeader in interface SecurityElementXMLStreamException
public <T> T readAsJAXB(Unmarshaller unmarshaller)
throws JAXBException
JAXBException
public <T> T readAsJAXB(Bridge<T> bridge,
BridgeContext context)
throws JAXBException
JAXBException
public <T> T readAsJAXB(Bridge<T> bridge)
throws JAXBException
JAXBException
public void writeTo(XMLStreamWriter streamWriter)
throws XMLStreamException
writeTo in interface SecurityElementWriterstreamWriter - XMLStreamWriter
XMLStreamException
public void writeTo(SOAPMessage saaj)
throws SOAPException
SOAPException
public void writeTo(ContentHandler contentHandler,
ErrorHandler errorHandler)
throws SAXException
SAXExceptionpublic byte[] getTokenValue()
getTokenValue in interface BinarySecurityTokenpublic void writeTo(OutputStream os)
writeTo in interface SecurityElementWriterpublic boolean refersToSecHdrWithId(String id)
refersToSecHdrWithId in interface SecurityHeaderElementpublic X509Certificate getCertificate()
public void writeTo(XMLStreamWriter streamWriter,
HashMap props)
throws XMLStreamException
writeTo in interface SecurityElementWriterstreamWriter - javax.xml.stream.XMLStreamWriterprops - HashMap
XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||