org.rococoa.cocoa.security
Class CSSM_APPLE_TP_SSL_OPTIONS
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
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.
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 |
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
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
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