org.rococoa.cocoa.security
Class CSSM_KEYHEADER

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<CSSM_KEYHEADER,CSSM_KEYHEADER.ByValue,CSSM_KEYHEADER.ByReference>
          extended by org.rococoa.cocoa.security.CSSM_KEYHEADER
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<CSSM_KEYHEADER,CSSM_KEYHEADER.ByValue,CSSM_KEYHEADER.ByReference>>
Direct Known Subclasses:
CSSM_KEYHEADER.ByReference, CSSM_KEYHEADER.ByValue

public class CSSM_KEYHEADER
extends Structure<CSSM_KEYHEADER,CSSM_KEYHEADER.ByValue,CSSM_KEYHEADER.ByReference>

native declaration : /System/Library/Frameworks/Security.framework/Headers/cssmtype.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_KEYHEADER.ByReference
           
static class CSSM_KEYHEADER.ByValue
           
 
Field Summary
 int AlgorithmId
          Algorithm ID of key
C type : CSSM_ALGORITHMS
 int BlobType
          See BlobType enum
C type : CSSM_KEYBLOB_TYPE
 CSSM_GUID CspId
          GUID of CSP generating the key
C type : CSSM_GUID
 CSSM_DATE EndDate
          Expiration date of key
C type : CSSM_DATE
 int Format
          Raw or Reference format
C type : CSSM_KEYBLOB_FORMAT
 int HeaderVersion
          Key header version
C type : CSSM_HEADERVERSION
 int KeyAttr
          Attribute flags
C type : CSSM_KEYATTR_FLAGS
 int KeyClass
          Public/Private/Secret, etc.
 int KeyUsage
          Key use flags
C type : CSSM_KEYUSE
 int LogicalKeySizeInBits
           
 int Reserved
           
 CSSM_DATE StartDate
          Effective date of key
C type : CSSM_DATE
 int WrapAlgorithmId
          == CSSM_ALGID_NONE if clear key
C type : CSSM_ALGORITHMS
 int WrapMode
          if alg supports multiple wrapping modes
C type : CSSM_ENCRYPT_MODE
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
CSSM_KEYHEADER()
           
 
Method Summary
static CSSM_KEYHEADER[] 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

HeaderVersion

public int HeaderVersion
Key header version
C type : CSSM_HEADERVERSION


CspId

public CSSM_GUID CspId
GUID of CSP generating the key
C type : CSSM_GUID


BlobType

public int BlobType
See BlobType enum
C type : CSSM_KEYBLOB_TYPE


Format

public int Format
Raw or Reference format
C type : CSSM_KEYBLOB_FORMAT


AlgorithmId

public int AlgorithmId
Algorithm ID of key
C type : CSSM_ALGORITHMS


KeyClass

public int KeyClass
Public/Private/Secret, etc.
C type : CSSM_KEYCLASS


LogicalKeySizeInBits

public int LogicalKeySizeInBits

KeyAttr

public int KeyAttr
Attribute flags
C type : CSSM_KEYATTR_FLAGS


KeyUsage

public int KeyUsage
Key use flags
C type : CSSM_KEYUSE


StartDate

public CSSM_DATE StartDate
Effective date of key
C type : CSSM_DATE


EndDate

public CSSM_DATE EndDate
Expiration date of key
C type : CSSM_DATE


WrapAlgorithmId

public int WrapAlgorithmId
== CSSM_ALGID_NONE if clear key
C type : CSSM_ALGORITHMS


WrapMode

public int WrapMode
if alg supports multiple wrapping modes
C type : CSSM_ENCRYPT_MODE


Reserved

public int Reserved
Constructor Detail

CSSM_KEYHEADER

public CSSM_KEYHEADER()
Method Detail

newArray

public static CSSM_KEYHEADER[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.