org.rococoa.cocoa.security
Class cssm_context

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.security.cssm_context
Direct Known Subclasses:
cssm_context.ByReference, cssm_context.ByValue

public class cssm_context
extends com.ochafik.lang.jnaerator.runtime.Structure

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class cssm_context.ByReference
           
static class cssm_context.ByValue
           
 
Field Summary
 int AlgorithmType
           
 cssm_context_attribute.ByReference ContextAttributes
           
 int ContextType
           
 int EncryptionProhibited
           
 int NumberOfAttributes
           
 int Privileged
           
 int Reserved
           
 int WorkFactor
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
cssm_context()
           
cssm_context(int ContextType, int AlgorithmType, int NumberOfAttributes, cssm_context_attribute.ByReference ContextAttributes, int Privileged, int EncryptionProhibited, int WorkFactor, int Reserved)
           
 
Method Summary
 cssm_context.ByReference byReference()
           
 cssm_context.ByValue byValue()
           
 cssm_context clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ContextType

public int ContextType

AlgorithmType

public int AlgorithmType

NumberOfAttributes

public int NumberOfAttributes

ContextAttributes

public cssm_context_attribute.ByReference ContextAttributes

Privileged

public int Privileged

EncryptionProhibited

public int EncryptionProhibited

WorkFactor

public int WorkFactor

Reserved

public int Reserved
Constructor Detail

cssm_context

public cssm_context()

cssm_context

public cssm_context(int ContextType,
                    int AlgorithmType,
                    int NumberOfAttributes,
                    cssm_context_attribute.ByReference ContextAttributes,
                    int Privileged,
                    int EncryptionProhibited,
                    int WorkFactor,
                    int Reserved)
Parameters:
EncryptionProhibited - CSSM_KR_POLICY_FLAGS
Reserved - reserved for future use
Method Detail

byReference

public cssm_context.ByReference byReference()

byValue

public cssm_context.ByValue byValue()

clone

public cssm_context clone()
Overrides:
clone in class Object