public static class Sspi.SecBuffer.ByReference extends Sspi.SecBuffer implements Structure.ByReference
Sspi.SecBuffer.ByReference
Structure.ByValue, Structure.StructField
BufferType, cbBuffer, pvBuffer
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
ByReference()
Create a SECBUFFER_EMPTY SecBuffer.
|
ByReference(int type,
byte[] token) |
ByReference(int type,
int size)
Create a SecBuffer of a given type and size.
|
getBytes, getFieldOrder
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public ByReference()
public ByReference(int type, int size)
type
- Buffer type, one of SECBUFFER_EMTPY, etc.size
- Buffer size, eg. MAX_TOKEN_SIZE.public ByReference(int type, byte[] token)