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

public class CSSM_APPLE_TP_CERT_REQUEST
extends Structure<CSSM_APPLE_TP_CERT_REQUEST,CSSM_APPLE_TP_CERT_REQUEST.ByValue,CSSM_APPLE_TP_CERT_REQUEST.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_CERT_REQUEST.ByReference
           
static class CSSM_APPLE_TP_CERT_REQUEST.ByValue
           
 
Field Summary
 CSSM_KEY.ByReference certPublicKey
           
 Pointer challengeString
          Optional challenge string for CSSMOID_APPLE_TP_CSR_GEN.
 NativeLong clHand
          and this CL
C type : CSSM_CL_HANDLE
 NativeLong cspHand
          sign with this CSP
C type : CSSM_CSP_HANDLE
 CE_DataAndType.ByReference extensions
          optional
C type : CE_DataAndType*
 CSSM_APPLE_TP_NAME_OID.ByReference issuerNames
          optional; NULL implies root
C type : CSSM_APPLE_TP_NAME_OID*
 CSSM_X509_NAME.ByReference issuerNameX509
          (signer == subject)
C type : CSSM_X509_NAME_PTR
 CSSM_KEY.ByReference 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_DATA signatureOid
          e.g., CSSMOID_SHA1WithRSA
C type : CSSM_OID
 CSSM_APPLE_TP_NAME_OID.ByReference subjectNames
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
CSSM_APPLE_TP_CERT_REQUEST()
           
 
Method Summary
static CSSM_APPLE_TP_CERT_REQUEST[] 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

cspHand

public NativeLong cspHand
sign with this CSP
C type : CSSM_CSP_HANDLE


clHand

public NativeLong clHand
and this CL
C type : CSSM_CL_HANDLE


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
optional; NULL implies root
C type : CSSM_APPLE_TP_NAME_OID*


issuerNameX509

public CSSM_X509_NAME.ByReference issuerNameX509
(signer == subject)
C type : CSSM_X509_NAME_PTR


certPublicKey

public CSSM_KEY.ByReference certPublicKey

issuerPrivateKey

public CSSM_KEY.ByReference 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
C type : CSSM_ALGORITHMS


signatureOid

public CSSM_DATA signatureOid
e.g., CSSMOID_SHA1WithRSA
C type : CSSM_OID


notBefore

public int notBefore

notAfter

public int notAfter

numExtensions

public int numExtensions

extensions

public CE_DataAndType.ByReference extensions
optional
C type : CE_DataAndType*


challengeString

public Pointer challengeString
Optional challenge string for CSSMOID_APPLE_TP_CSR_GEN.
C type : const char*

Constructor Detail

CSSM_APPLE_TP_CERT_REQUEST

public CSSM_APPLE_TP_CERT_REQUEST()
Method Detail

newArray

public static CSSM_APPLE_TP_CERT_REQUEST[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.