Package com.sun.jna.platform.win32
Class SspiUtil.ManagedSecBufferDesc
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Sspi.SecBufferDesc
com.sun.jna.platform.win32.SspiUtil.ManagedSecBufferDesc
- Enclosing class:
- SspiUtil
The SecBufferDesc structure describes an array of SecBuffer structures
 to pass from a transport application to a security package.
 
 ManagedSecBufferDesc is a convenience binding, that makes dealing with
 SecBufferDesc
 easier by providing direct, bound access, to the contained
 SecBuffers.
 
ManagedSecBufferDesc assumes, that the size (entry count) of the SecBufferDesc is known at construction time. It is assumed, that this covers all relevant use-cases.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFields inherited from class com.sun.jna.platform.win32.Sspi.SecBufferDesccBuffers, pBuffers, ulVersionFields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructorsConstructorDescriptionManagedSecBufferDesc(int bufferCount) ManagedSecBufferDesc(int type, byte[] token) Create a new SecBufferDesc with initial data.ManagedSecBufferDesc(int type, int tokenSize) Create a new SecBufferDesc with one SecBuffer of a given type and size.
- 
Method SummaryMethods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, writeField, writeField, writeField
- 
Constructor Details- 
ManagedSecBufferDescpublic ManagedSecBufferDesc(int type, byte[] token) Create a new SecBufferDesc with initial data.- Parameters:
- type- Token type.
- token- Initial token data.
 
- 
ManagedSecBufferDescpublic ManagedSecBufferDesc(int type, int tokenSize) Create a new SecBufferDesc with one SecBuffer of a given type and size.- Parameters:
- type- type
- tokenSize- token size
 
- 
ManagedSecBufferDescpublic ManagedSecBufferDesc(int bufferCount) 
 
- 
- 
Method Details