org.rococoa.cocoa.security
Class CSSM_APPLE_CL_CSR_REQUEST

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_CL_CSR_REQUEST
Direct Known Subclasses:
CSSM_APPLE_CL_CSR_REQUEST.ByReference, CSSM_APPLE_CL_CSR_REQUEST.ByValue

public class CSSM_APPLE_CL_CSR_REQUEST
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_CL_CSR_REQUEST.ByReference
           
static class CSSM_APPLE_CL_CSR_REQUEST.ByValue
           
 
Field Summary
 ByteByReference challengeString
           
 int signatureAlg
          Unfortunately there is no practical way to map any algorithm
to its appropriate OID, and we need both....
 cssm_x509_name.ByReference subjectNameX509
           
 SecurityLibrary.CSSM_KEY subjectPrivateKey
           
 SecurityLibrary.CSSM_KEY subjectPublicKey
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
CSSM_APPLE_CL_CSR_REQUEST()
           
CSSM_APPLE_CL_CSR_REQUEST(cssm_x509_name.ByReference subjectNameX509, int signatureAlg, SecurityLibrary.CSSM_KEY subjectPublicKey, SecurityLibrary.CSSM_KEY subjectPrivateKey, ByteByReference challengeString)
           
 
Method Summary
 CSSM_APPLE_CL_CSR_REQUEST.ByReference byReference()
           
 CSSM_APPLE_CL_CSR_REQUEST.ByValue byValue()
           
 CSSM_APPLE_CL_CSR_REQUEST 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

subjectNameX509

public cssm_x509_name.ByReference subjectNameX509

signatureAlg

public int signatureAlg
Unfortunately there is no practical way to map any algorithm
to its appropriate OID, and we need both....
e.g., CSSM_ALGID_SHA1WithRSA


subjectPublicKey

public SecurityLibrary.CSSM_KEY subjectPublicKey

subjectPrivateKey

public SecurityLibrary.CSSM_KEY subjectPrivateKey

challengeString

public ByteByReference challengeString
Constructor Detail

CSSM_APPLE_CL_CSR_REQUEST

public CSSM_APPLE_CL_CSR_REQUEST()

CSSM_APPLE_CL_CSR_REQUEST

public CSSM_APPLE_CL_CSR_REQUEST(cssm_x509_name.ByReference subjectNameX509,
                                 int signatureAlg,
                                 SecurityLibrary.CSSM_KEY subjectPublicKey,
                                 SecurityLibrary.CSSM_KEY subjectPrivateKey,
                                 ByteByReference challengeString)
Parameters:
signatureAlg - Unfortunately there is no practical way to map any algorithm
to its appropriate OID, and we need both....
e.g., CSSM_ALGID_SHA1WithRSA
challengeString - Optional challenge string.
Method Detail

byReference

public CSSM_APPLE_CL_CSR_REQUEST.ByReference byReference()

byValue

public CSSM_APPLE_CL_CSR_REQUEST.ByValue byValue()

clone

public CSSM_APPLE_CL_CSR_REQUEST clone()
Overrides:
clone in class Object