| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[] | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | WrapToken_v2(Krb5Context
the mechanism context associated with this
token context, byte[] the bytes of the token tokenBytes, int the offset of the token tokenOffset, int the length of the token tokenLen, MessageProp the MessageProp into which characteristics of the
parsed token will be stored. prop)Constructs a WrapToken from token bytes obtained from the peer. |
| public | WrapToken_v2(Krb5Context
the mechanism context associated with this
token context, InputStream the InputStream containing the token bytes is, MessageProp the MessageProp into which characteristics of the
parsed token will be stored. prop)Constructs a WrapToken from token bytes read on the fly from an InputStream. |
| public | WrapToken_v2(Krb5Context context, MessageProp prop, byte[] dataBytes, int dataOffset, int dataLen)
Writes a WrapToken_v2 object |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(OutputStream os)
Implements abstract sun. Encodes a MessageToken_v2 onto an OutputStream. |
| public byte[] | |
| public int | |
| public byte[] | Returns: a byte array containing the application dataObtains the application data that was transmitted in this WrapToken. |
| public int | Returns: the size of the data writtenthe output buffer into which the data must be
written dataBuf, int the offset at which to write the data dataBufOffset)Obtains the application data that was transmitted in this WrapToken, writing it into an application provided output array. |
| pack-priv static int |
| confounder | back to summary |
|---|---|
| pack-priv byte[] confounder | |
| privacy | back to summary |
|---|---|
| private final boolean privacy | |
| WrapToken_v2 | back to summary |
|---|---|
| public WrapToken_v2(Krb5Context context, byte[] tokenBytes, int tokenOffset, int tokenLen, MessageProp prop) throws GSSException Constructs a WrapToken from token bytes obtained from the peer.
| |
| WrapToken_v2 | back to summary |
|---|---|
| public WrapToken_v2(Krb5Context context, InputStream is, MessageProp prop) throws GSSException Constructs a WrapToken from token bytes read on the fly from an InputStream.
| |
| WrapToken_v2 | back to summary |
|---|---|
| public WrapToken_v2(Krb5Context context, MessageProp prop, byte[] dataBytes, int dataOffset, int dataLen) throws GSSException Writes a WrapToken_v2 object | |
| encode | back to summary |
|---|---|
| public void encode(OutputStream os) throws IOException Implements abstract sun. Doc from sun. Encodes a MessageToken_v2 onto an OutputStream.
| |
| encode | back to summary |
|---|---|
| public byte[] encode() throws IOException | |
| encode | back to summary |
|---|---|
| public int encode(byte[] outToken, int offset) throws IOException | |
| getData | back to summary |
|---|---|
| public byte[] getData() throws GSSException Obtains the application data that was transmitted in this WrapToken.
| |
| getData | back to summary |
|---|---|
| public int getData(byte[] dataBuf, int dataBufOffset) throws GSSException Obtains the application data that was transmitted in this WrapToken, writing it into an application provided output array.
| |
| getSizeLimit | back to summary |
|---|---|
| pack-priv static int getSizeLimit(int qop, boolean confReq, int maxTokenSize, CipherHelper ch) throws GSSException | |