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

public class CSSM_APPLE_TP_SMIME_OPTIONS
extends Structure<CSSM_APPLE_TP_SMIME_OPTIONS,CSSM_APPLE_TP_SMIME_OPTIONS.ByValue,CSSM_APPLE_TP_SMIME_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_SMIME_OPTIONS.ByReference
           
static class CSSM_APPLE_TP_SMIME_OPTIONS.ByValue
           
 
Field Summary
 short IntendedUsage
          Intended usage of the leaf cert.
 Pointer SenderEmail
          optional
C type : const char*
 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
 
Constructor Summary
CSSM_APPLE_TP_SMIME_OPTIONS()
           
CSSM_APPLE_TP_SMIME_OPTIONS(int Version, short IntendedUsage, int SenderEmailLen, Pointer SenderEmail)
           
 
Method Summary
static CSSM_APPLE_TP_SMIME_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

IntendedUsage

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


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

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,
                                   Pointer 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.
C type : CE_KeyUsage
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
C type : const char*
Method Detail

newArray

public static CSSM_APPLE_TP_SMIME_OPTIONS[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.