be.cardon.nativecall.cryptoapi
Class Struct_CTL_USAGE

java.lang.Object
  extended by be.cardon.nativecall.NativeObject
      extended by be.cardon.nativecall.NativeStructure
          extended by be.cardon.nativecall.cryptoapi.Struct_CTL_USAGE
Direct Known Subclasses:
StructCERT_ENHKEY_USAGE, StructCTL_USAGE

public class Struct_CTL_USAGE
extends NativeStructure

Wrapper for structure _CTL_USAGE.

typedef struct _CTL_USAGE {  
 DWORD cUsageIdentifier;  
 LPSTR* rgpszUsageIdentifier;
} CTL_USAGE, 
PCTL_USAGE, 
 CERT_ENHKEY_USAGE, 
PCERT_ENHKEY_USAGE;


Field Summary
 
Fields inherited from class be.cardon.nativecall.NativeObject
BYTE_SIZE, INT_SIZE, LLC
 
Constructor Summary
Struct_CTL_USAGE()
          Creates a new instance of the structure, new native structure.
Struct_CTL_USAGE(int address)
          Creates a new instance of the structure, existing native structure.
 
Method Summary
 NativeInt cUsageIdentifier()
          Number of elements in the rgpszUsageIdentifier array.
 NativeInt rgpszUsageIdentifier()
          pointer to ... see MSDN Array of object identifiers (OIDs) of CTL extensions.
 
Methods inherited from class be.cardon.nativecall.NativeStructure
checkStructSize, getAddressOfElement, getNativeObjectElement, getRelativeAddress, initStruct
 
Methods inherited from class be.cardon.nativecall.NativeObject
finalize, getAddress, getLength, isReadOnly, setReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct_CTL_USAGE

public Struct_CTL_USAGE()
                 throws NativeCallException
Creates a new instance of the structure, new native structure.

Throws:
NativeCallException

Struct_CTL_USAGE

public Struct_CTL_USAGE(int address)
                 throws NativeCallException
Creates a new instance of the structure, existing native structure.

Throws:
NativeCallException
Method Detail

cUsageIdentifier

public NativeInt cUsageIdentifier()
                           throws NativeCallException
Number of elements in the rgpszUsageIdentifier array.

Throws:
NativeCallException

rgpszUsageIdentifier

public NativeInt rgpszUsageIdentifier()
                               throws NativeCallException
pointer to ... see MSDN Array of object identifiers (OIDs) of CTL extensions.

Throws:
NativeCallException