org.rococoa.cocoa.security
Class CSSM_APPLE_TP_SMIME_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_SMIME_OPTIONS
Direct Known Subclasses:
CSSM_APPLE_TP_SMIME_OPTIONS.ByReference, CSSM_APPLE_TP_SMIME_OPTIONS.ByValue

public class CSSM_APPLE_TP_SMIME_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_SMIME_OPTIONS.ByReference
           
static class CSSM_APPLE_TP_SMIME_OPTIONS.ByValue
           
 
Field Summary
 short IntendedUsage
          Intended usage of the leaf cert.
 ByteByReference SenderEmail
           
 int SenderEmailLen
          The email address of the sender.
 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_SMIME_OPTIONS()
           
CSSM_APPLE_TP_SMIME_OPTIONS(int Version, short IntendedUsage, int SenderEmailLen, ByteByReference SenderEmail)
           
 
Method Summary
 CSSM_APPLE_TP_SMIME_OPTIONS.ByReference byReference()
           
 CSSM_APPLE_TP_SMIME_OPTIONS.ByValue byValue()
           
 CSSM_APPLE_TP_SMIME_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

IntendedUsage

public short IntendedUsage
Intended usage of the leaf cert. The cert's KeyUsage extension,
if present, must be a superset of this.


SenderEmailLen

public int SenderEmailLen
The email address of the sender. If there is an email address
in the sender's cert, that email address must match this one.
Both (email address in the cert, and this one) are optional.
Expressed as a C string, optionally NULL terminated (i.e.,
SenderEmail[SenderEmailLen - 1] may or may not be NULL).


SenderEmail

public ByteByReference SenderEmail
Constructor Detail

CSSM_APPLE_TP_SMIME_OPTIONS

public CSSM_APPLE_TP_SMIME_OPTIONS()

CSSM_APPLE_TP_SMIME_OPTIONS

public CSSM_APPLE_TP_SMIME_OPTIONS(int Version,
                                   short IntendedUsage,
                                   int SenderEmailLen,
                                   ByteByReference SenderEmail)
Parameters:
Version - CSSM_APPLE_TP_SMIME_OPTS_VERSION
IntendedUsage - Intended usage of the leaf cert. The cert's KeyUsage extension,
if present, must be a superset of this.
SenderEmailLen - The email address of the sender. If there is an email address
in the sender's cert, that email address must match this one.
Both (email address in the cert, and this one) are optional.
Expressed as a C string, optionally NULL terminated (i.e.,
SenderEmail[SenderEmailLen - 1] may or may not be NULL).
SenderEmail - optional
Method Detail

byReference

public CSSM_APPLE_TP_SMIME_OPTIONS.ByReference byReference()

byValue

public CSSM_APPLE_TP_SMIME_OPTIONS.ByValue byValue()

clone

public CSSM_APPLE_TP_SMIME_OPTIONS clone()
Overrides:
clone in class Object