org.rococoa.cocoa.security
Class CSSM_APPLE_TP_SSL_OPTIONS

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

public class CSSM_APPLE_TP_SSL_OPTIONS
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_APPLE_TP_SSL_OPTIONS.ByReference
           
static class CSSM_APPLE_TP_SSL_OPTIONS.ByValue
           
 
Field Summary
 int Flags
           
 ByteByReference ServerName
           
 int ServerNameLen
          The domain name of the server (e.g., "store.apple.com".)
 int Version
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
CSSM_APPLE_TP_SSL_OPTIONS()
           
CSSM_APPLE_TP_SSL_OPTIONS(int Version, int ServerNameLen, ByteByReference ServerName, int Flags)
           
 
Method Summary
 CSSM_APPLE_TP_SSL_OPTIONS.ByReference byReference()
           
 CSSM_APPLE_TP_SSL_OPTIONS.ByValue byValue()
           
 CSSM_APPLE_TP_SSL_OPTIONS 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

Version

public int Version

ServerNameLen

public int ServerNameLen
The domain name of the server (e.g., "store.apple.com".) In the
SSL and TLS protocols, this must match the common name of the
subject cert. Expressed as a C string, optionally NULL terminated
if it is NULL terminated, the length field should include the NULL).


ServerName

public ByteByReference ServerName

Flags

public int Flags
Constructor Detail

CSSM_APPLE_TP_SSL_OPTIONS

public CSSM_APPLE_TP_SSL_OPTIONS()

CSSM_APPLE_TP_SSL_OPTIONS

public CSSM_APPLE_TP_SSL_OPTIONS(int Version,
                                 int ServerNameLen,
                                 ByteByReference ServerName,
                                 int Flags)
Parameters:
Version - CSSM_APPLE_TP_SSL_OPTS_VERSION
ServerNameLen - The domain name of the server (e.g., "store.apple.com".) In the
SSL and TLS protocols, this must match the common name of the
subject cert. Expressed as a C string, optionally NULL terminated
if it is NULL terminated, the length field should include the NULL).
ServerName - optional
Flags - new fields for struct version 1
Method Detail

byReference

public CSSM_APPLE_TP_SSL_OPTIONS.ByReference byReference()

byValue

public CSSM_APPLE_TP_SSL_OPTIONS.ByValue byValue()

clone

public CSSM_APPLE_TP_SSL_OPTIONS clone()
Overrides:
clone in class Object