be.cardon.nativecall.cryptoapi
Class StructCERT_CHAIN_ELEMENT

java.lang.Object
  extended by be.cardon.nativecall.NativeObject
      extended by be.cardon.nativecall.NativeStructure
          extended by be.cardon.nativecall.cryptoapi.StructCERT_CHAIN_ELEMENT

public class StructCERT_CHAIN_ELEMENT
extends NativeStructure

Wrapper for structure CERT_CHAIN_ELEMENT.


Field Summary
static java.lang.Integer[] elementsSize
           
static int lengthInBytes
           
 
Fields inherited from class be.cardon.nativecall.NativeObject
BYTE_SIZE, INT_SIZE, LLC
 
Constructor Summary
StructCERT_CHAIN_ELEMENT()
          Creates a new instance of the structure, new native structure.
StructCERT_CHAIN_ELEMENT(int address)
          Creates a new instance of the structure, existing native structure.
 
Method Summary
 NativeInt cbSize()
          cbSize is read only.
 StructCERT_CONTEXT certContext()
          EXTENDED FUNCTIONS
 java.lang.String ExtendedErrorInfo()
           
 StructCERT_ENHKEY_USAGE pApplicationUsage()
           
 NativeInt pCertContext()
           
 StructCERT_ENHKEY_USAGE pIssuanceUsage()
           
 NativeInt pRevocationInfo()
          return a pointer to CERT_REVOCATION_INFO struct (not yet implemented)
 NativeInt pwszExtendedErrorInfo()
           
 StructCERT_TRUST_STATUS TrustStatus()
           
 
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
 

Field Detail

elementsSize

public static final java.lang.Integer[] elementsSize

lengthInBytes

public static final int lengthInBytes
See Also:
Constant Field Values
Constructor Detail

StructCERT_CHAIN_ELEMENT

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

Throws:
NativeCallException

StructCERT_CHAIN_ELEMENT

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

Throws:
NativeCallException
Method Detail

cbSize

public NativeInt cbSize()
                 throws NativeCallException
cbSize is read only.

Throws:
NativeCallException

pCertContext

public NativeInt pCertContext()
                       throws NativeCallException
Throws:
NativeCallException

TrustStatus

public StructCERT_TRUST_STATUS TrustStatus()
                                    throws NativeCallException
Throws:
NativeCallException

pRevocationInfo

public NativeInt pRevocationInfo()
                          throws NativeCallException
return a pointer to CERT_REVOCATION_INFO struct (not yet implemented)

Throws:
NativeCallException

pIssuanceUsage

public StructCERT_ENHKEY_USAGE pIssuanceUsage()
                                       throws NativeCallException
Throws:
NativeCallException

pApplicationUsage

public StructCERT_ENHKEY_USAGE pApplicationUsage()
                                          throws NativeCallException
Throws:
NativeCallException

pwszExtendedErrorInfo

public NativeInt pwszExtendedErrorInfo()
                                throws NativeCallException
Throws:
NativeCallException

certContext

public StructCERT_CONTEXT certContext()
                               throws NativeCallException
EXTENDED FUNCTIONS

Throws:
NativeCallException

ExtendedErrorInfo

public java.lang.String ExtendedErrorInfo()
                                   throws NativeCallException
Throws:
NativeCallException