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<CSSM_APPLE_TP_SSL_OPTIONS,CSSM_APPLE_TP_SSL_OPTIONS.ByValue,CSSM_APPLE_TP_SSL_OPTIONS.ByReference>
          extended by org.rococoa.cocoa.security.CSSM_APPLE_TP_SSL_OPTIONS
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<CSSM_APPLE_TP_SSL_OPTIONS,CSSM_APPLE_TP_SSL_OPTIONS.ByValue,CSSM_APPLE_TP_SSL_OPTIONS.ByReference>>
Direct Known Subclasses:
CSSM_APPLE_TP_SSL_OPTIONS.ByReference, CSSM_APPLE_TP_SSL_OPTIONS.ByValue

public class CSSM_APPLE_TP_SSL_OPTIONS
extends Structure<CSSM_APPLE_TP_SSL_OPTIONS,CSSM_APPLE_TP_SSL_OPTIONS.ByValue,CSSM_APPLE_TP_SSL_OPTIONS.ByReference>

native declaration : /System/Library/Frameworks/Security.framework/Headers/cssmapple.h
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
           
 Pointer ServerName
          optional
C type : const char*
 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
 
Constructor Summary
CSSM_APPLE_TP_SSL_OPTIONS()
           
CSSM_APPLE_TP_SSL_OPTIONS(int Version, int ServerNameLen, Pointer ServerName, int Flags)
           
 
Method Summary
static CSSM_APPLE_TP_SSL_OPTIONS[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

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 Pointer ServerName
optional
C type : const char*


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,
                                 Pointer 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
C type : const char*
Flags - new fields for struct version 1
Method Detail

newArray

public static CSSM_APPLE_TP_SSL_OPTIONS[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.