com.sun.jna.platform.win32
Class WinCrypt.DATA_BLOB
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinCrypt.DATA_BLOB
- Enclosing interface:
- WinCrypt
public static class WinCrypt.DATA_BLOB
- extends Structure
The CryptoAPI CRYPTOAPI_BLOB structure is used for an arbitrary array of bytes.
Field Summary |
int |
cbData
The count of bytes in the buffer pointed to by pbData. |
Pointer |
pbData
A pointer to a block of data bytes. |
Method Summary |
byte[] |
getData()
Get byte data. |
Methods inherited from class com.sun.jna.Structure |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getFields, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField |
cbData
public int cbData
- The count of bytes in the buffer pointed to by pbData.
pbData
public Pointer pbData
- A pointer to a block of data bytes.
WinCrypt.DATA_BLOB
public WinCrypt.DATA_BLOB()
WinCrypt.DATA_BLOB
public WinCrypt.DATA_BLOB(Pointer memory)
WinCrypt.DATA_BLOB
public WinCrypt.DATA_BLOB(byte[] data)
WinCrypt.DATA_BLOB
public WinCrypt.DATA_BLOB(String s)
getData
public byte[] getData()
- Get byte data.
- Returns:
- Byte data or null.
Copyright © 2007-2010 Timothy Wall. All Rights Reserved.