|
||||||||||
| 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.DerivedKey
public class DerivedKey
| Constructor Summary | |
|---|---|
DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String spVersion)
Creates a new instance of DerivedKey |
|
DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String spVersion)
|
|
DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String refId,
String spVersion)
|
|
DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String refId,
String spVersion)
|
|
| Method Summary | |
|---|---|
String |
getAlgorithm()
Gets the value of the algorithm property. |
BigInteger |
getGeneration()
Gets the value of the generation property. |
String |
getId()
Gets the value of the id property. |
String |
getLabel()
Gets the value of the label property. |
BigInteger |
getLength()
Gets the value of the length property. |
String |
getLocalPart()
Gets the local name of this header element. |
String |
getNamespaceURI()
|
byte[] |
getNonce()
Gets the value of the nonce property. |
BigInteger |
getOffset()
Gets the value of the offset property. |
SecurityTokenReferenceType |
getSecurityTokenReference()
Gets the value of the securityTokenReference property. |
XMLStreamReader |
readHeader()
Reads the header as a XMLStreamReader. |
boolean |
refersToSecHdrWithId(String id)
checks whether this object refers to the object with the given id |
void |
setAlgorithm(String value)
Sets the value of the algorithm property. |
void |
setGeneration(BigInteger value)
Sets the value of the generation property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setLabel(String value)
Sets the value of the label property. |
void |
setLength(BigInteger value)
Sets the value of the length property. |
void |
setNonce(byte[] value)
Sets the value of the nonce property. |
void |
setOffset(BigInteger value)
Sets the value of the offset property. |
void |
setSecurityTokenReference(SecurityTokenReferenceType value)
Sets the value of the securityTokenReference property. |
void |
writeTo(OutputStream os)
creates and writes the derived key token to the output stream |
void |
writeTo(XMLStreamWriter streamWriter)
creates and writes the derived key token to the XMLStreamWriter |
void |
writeTo(XMLStreamWriter streamWriter,
HashMap props)
writes the derived key to the XMLStreamWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String spVersion)
public DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String refId,
String spVersion)
public DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String spVersion)
public DerivedKey(DerivedKeyTokenType dkt,
SOAPVersion soapVersion,
String refId,
String spVersion)
| Method Detail |
|---|
public String getAlgorithm()
DerivedKeyToken
getAlgorithm in interface DerivedKeyTokenStringpublic BigInteger getGeneration()
DerivedKeyToken
getGeneration in interface DerivedKeyTokenBigIntegerpublic String getId()
DerivedKeyToken
getId in interface DerivedKeyTokengetId in interface SecurityElementStringpublic String getLabel()
DerivedKeyToken
getLabel in interface DerivedKeyTokenStringpublic BigInteger getLength()
DerivedKeyToken
getLength in interface DerivedKeyTokenBigIntegerpublic byte[] getNonce()
DerivedKeyToken
getNonce in interface DerivedKeyTokenpublic BigInteger getOffset()
DerivedKeyToken
getOffset in interface DerivedKeyTokenBigIntegerpublic SecurityTokenReferenceType getSecurityTokenReference()
DerivedKeyToken
getSecurityTokenReference in interface DerivedKeyTokenSecurityTokenReferenceTypepublic void setAlgorithm(String value)
DerivedKeyToken
setAlgorithm in interface DerivedKeyTokenvalue - allowed object is
Stringpublic void setGeneration(BigInteger value)
DerivedKeyToken
setGeneration in interface DerivedKeyTokenvalue - allowed object is
BigIntegerpublic void setId(String value)
DerivedKeyToken
setId in interface DerivedKeyTokensetId in interface SecurityElementvalue - allowed object is
Stringpublic void setLabel(String value)
DerivedKeyToken
setLabel in interface DerivedKeyTokenvalue - allowed object is
Stringpublic void setLength(BigInteger value)
DerivedKeyToken
setLength in interface DerivedKeyTokenvalue - allowed object is
BigIntegerpublic void setNonce(byte[] value)
DerivedKeyToken
setNonce in interface DerivedKeyTokenvalue - allowed object is
byte[]public void setOffset(BigInteger value)
DerivedKeyToken
setOffset in interface DerivedKeyTokenvalue - allowed object is
BigIntegerpublic void setSecurityTokenReference(SecurityTokenReferenceType value)
DerivedKeyToken
setSecurityTokenReference in interface DerivedKeyTokenvalue - allowed object is
SecurityTokenReferenceTypepublic String getNamespaceURI()
getNamespaceURI in interface SecurityElementpublic String getLocalPart()
SecurityElement
getLocalPart in interface SecurityElement
public XMLStreamReader readHeader()
throws XMLStreamException
SecurityElementXMLStreamReader.
The returned parser points at the start element of this header.
(IOW, XMLStreamReader.getEventType() would return
XMLStreamConstants.START_ELEMENT.
For some Header implementations, this operation
is a non-trivial operation. Therefore, use of this method
is discouraged unless the caller is interested in reading
the whole header.
Similarly, if the caller wants to use this method only to do
the API conversion (such as simply firing SAX events from
XMLStreamReader), then the JAX-WS team requests
that you talk to us.
Messages that come from tranport usually provides
a reasonably efficient implementation of this method.
readHeader in interface SecurityElementXMLStreamExceptionpublic void writeTo(OutputStream os)
writeTo in interface SecurityElementWriteros - OutputStream
public void writeTo(XMLStreamWriter streamWriter)
throws XMLStreamException
writeTo in interface SecurityElementWriterstreamWriter -
XMLStreamExceptionpublic boolean refersToSecHdrWithId(String id)
refersToSecHdrWithId in interface SecurityHeaderElementid - String
public void writeTo(XMLStreamWriter streamWriter,
HashMap props)
throws XMLStreamException
writeTo in interface SecurityElementWriterstreamWriter - props -
XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||