public static class Sspi.SecBuffer.ByReference extends Sspi.SecBuffer implements Structure.ByReference
Sspi.SecBuffer.ByReferenceStructure.ByValueBufferType, cbBuffer, pvBufferALIGN_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.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get buffer bytes.
|
getFieldOrderallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeFieldpublic 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)
public byte[] getBytes()
getBytes in class Sspi.SecBuffer