|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.cardon.nativecall.NativeObject
be.cardon.nativecall.NativeStructure
be.cardon.nativecall.cryptoapi.StructCERT_CHAIN_PARA
public class StructCERT_CHAIN_PARA
Wrapper for structure CERT_CHAIN_PARA
.
typedef struct _CERT_CHAIN_PARA { DWORD cbSize; CERT_USAGE_MATCH RequestedUsage; CERT_USAGE_MATCH RequestedIssuancePolicy; } DWORD dwUrlRetrievalTimeout; } extra BOOL fCheckRevocationFreshnessTime; } fields DWORD dwRevocationFreshnessTime; } } CERT_CHAIN_PARA, PCERT_CHAIN_PARA;Note : the
CERT_CHAIN_PARA_HAS_EXTRA_FIELDS
has been defined in
the JNI native code. So the extra fields are always available.
Field Summary | |
---|---|
static java.lang.Integer[] |
elementsSizeLong
|
static java.lang.Integer[] |
elementsSizeShort
|
static int |
lengthInBytesLong
|
static int |
lengthInBytesShort
|
Fields inherited from class be.cardon.nativecall.NativeObject |
---|
BYTE_SIZE, INT_SIZE, LLC |
Method Summary | |
---|---|
NativeInt |
CbSize()
Returns the size of this structure in bytes (read only). |
NativeInt |
dwRevocationFreshnessTime()
Largest CurrentTime, in seconds, minus the CRL's ThisUpdate of all elements checked. |
NativeInt |
dwUrlRetrievalTimeout()
Time before the revocation checking times out in milliseconds. |
NativeBoolean |
fCheckRevocationFreshnessTime()
When this flag is TRUE , an attempt is made to retrieve a new CRL if
ThisUpdate is greater than or equal to Current Time minus
dwRevocationFreshnessTime . |
boolean |
hasExtraFields()
|
static StructCERT_CHAIN_PARA |
newInstance(boolean extraFields)
Creates a new instance of this class, new native object. |
static StructCERT_CHAIN_PARA |
newInstance(int address)
Creates a new instance of this class, existing native object. |
StructCERT_USAGE_MATCH |
RequestedIssuancePolicy()
Returns the CERT_USAGE_MATCH RequestedIssuancePolicy structure. |
StructCERT_USAGE_MATCH |
RequestedUsage()
Returns the CERT_USAGE_MATCH RequestedUsage structure. |
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 |
---|
public static final java.lang.Integer[] elementsSizeLong
public static final java.lang.Integer[] elementsSizeShort
public static final int lengthInBytesLong
public static final int lengthInBytesShort
Method Detail |
---|
public static StructCERT_CHAIN_PARA newInstance(boolean extraFields) throws NativeCallException
NativeCallException
public static StructCERT_CHAIN_PARA newInstance(int address) throws NativeCallException
NativeCallException
public boolean hasExtraFields()
public NativeInt CbSize() throws NativeCallException
NativeCallException
public StructCERT_USAGE_MATCH RequestedUsage() throws NativeCallException
CERT_USAGE_MATCH RequestedUsage
structure.
NativeCallException
public StructCERT_USAGE_MATCH RequestedIssuancePolicy() throws NativeCallException
CERT_USAGE_MATCH RequestedIssuancePolicy
structure.
NativeCallException
- if the structure has no extra fields.public NativeInt dwUrlRetrievalTimeout() throws NativeCallException
NativeCallException
- if the structure has no extra fields.public NativeBoolean fCheckRevocationFreshnessTime() throws NativeCallException
TRUE
, an attempt is made to retrieve a new CRL if
ThisUpdate is greater than or equal to Current Time minus
dwRevocationFreshnessTime
. If this flag is not set, the CRL's NextUpdate
time is used.
NativeCallException
- if the structure has no extra fields.public NativeInt dwRevocationFreshnessTime() throws NativeCallException
NativeCallException
- if the structure has no extra fields.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |