org.rococoa.cocoa.security
Class CSSM_APPLE_TP_CERT_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_TP_CERT_REQUEST
Direct Known Subclasses:
CSSM_APPLE_TP_CERT_REQUEST.ByReference, CSSM_APPLE_TP_CERT_REQUEST.ByValue

public class CSSM_APPLE_TP_CERT_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_TP_CERT_REQUEST.ByReference
           
static class CSSM_APPLE_TP_CERT_REQUEST.ByValue
           
 
Field Summary
 SecurityLibrary.CSSM_KEY certPublicKey
           
 ByteByReference challengeString
           
 CE_DataAndType.ByReference extensions
           
 CSSM_APPLE_TP_NAME_OID.ByReference issuerNames
           
 cssm_x509_name.ByReference issuerNameX509
           
 SecurityLibrary.CSSM_KEY issuerPrivateKey
           
 int notAfter
           
 int notBefore
           
 int numExtensions
           
 int numIssuerNames
          Issuer name can be expressed in the simplified CSSM_APPLE_TP_NAME_OID
array, as is the subject name, or as an CSSM_X509_NAME, which is
typically obtained from a signing cert.
 int numSubjectNames
           
 int serialNumber
           
 int signatureAlg
          Unfortunately there is no practical way to map any algorithm
to its appropriate OID, and we need both....
 CSSM_APPLE_TP_NAME_OID.ByReference subjectNames
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
CSSM_APPLE_TP_CERT_REQUEST()
           
 
Method Summary
 CSSM_APPLE_TP_CERT_REQUEST.ByReference byReference()
           
 CSSM_APPLE_TP_CERT_REQUEST.ByValue byValue()
           
 CSSM_APPLE_TP_CERT_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

serialNumber

public int serialNumber

numSubjectNames

public int numSubjectNames

subjectNames

public CSSM_APPLE_TP_NAME_OID.ByReference subjectNames

numIssuerNames

public int numIssuerNames
Issuer name can be expressed in the simplified CSSM_APPLE_TP_NAME_OID
array, as is the subject name, or as an CSSM_X509_NAME, which is
typically obtained from a signing cert.
Exactly one of {issuerNames, issuerNameX509} must be non-NULL.
size issuerNames[]


issuerNames

public CSSM_APPLE_TP_NAME_OID.ByReference issuerNames

issuerNameX509

public cssm_x509_name.ByReference issuerNameX509

certPublicKey

public SecurityLibrary.CSSM_KEY certPublicKey

issuerPrivateKey

public SecurityLibrary.CSSM_KEY issuerPrivateKey

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


notBefore

public int notBefore

notAfter

public int notAfter

numExtensions

public int numExtensions

extensions

public CE_DataAndType.ByReference extensions

challengeString

public ByteByReference challengeString
Constructor Detail

CSSM_APPLE_TP_CERT_REQUEST

public CSSM_APPLE_TP_CERT_REQUEST()
Method Detail

byReference

public CSSM_APPLE_TP_CERT_REQUEST.ByReference byReference()

byValue

public CSSM_APPLE_TP_CERT_REQUEST.ByValue byValue()

clone

public CSSM_APPLE_TP_CERT_REQUEST clone()
Overrides:
clone in class Object