Top Inners Constructors Methods
com.sun.jna.platform.win32

public abstract Class WinCryptUtil

extends Object
Class Inheritance
Imports
com.sun.jna.Memory, .Native, com.sun.jna.platform.win32.WinCrypt.CERT_CONTEXT, .WinCrypt.CRL_CONTEXT, .WinCrypt.CRYPT_ATTRIBUTE, .WinCrypt.CRYPT_SIGN_MESSAGE_PARA

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WinCryptUtilback to summary
public WinCryptUtil()
com.sun.jna.platform.win32 back to summary

public Class WinCryptUtil.MANAGED_CRYPT_SIGN_MESSAGE_PARA

extends CRYPT_SIGN_MESSAGE_PARA
Class Inheritance

Field Summary

Modifier and TypeField and Description
private WinCrypt.CRYPT_ATTRIBUTE[]
private WinCrypt.CERT_CONTEXT[]
private WinCrypt.CRL_CONTEXT[]
private WinCrypt.CRYPT_ATTRIBUTE[]
Inherited from com.sun.jna.platform.win32.WinCrypt.CRYPT_SIGN_MESSAGE_PARA:
cAuthAttrcbSizecMsgCertcMsgCrlcUnauthAttrdwFlagsdwInnerContentTypedwMsgEncodingTypeHashAlgorithmHashEncryptionAlgorithmpSigningCertpvHashAuxInfopvHashEncryptionAuxInforgAuthAttrrgpMsgCertrgpMsgCrlrgUnauthAttr

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public WinCrypt.CRYPT_ATTRIBUTE[]
public WinCrypt.CERT_CONTEXT[]
public WinCrypt.CRL_CONTEXT[]
public WinCrypt.CRYPT_ATTRIBUTE[]
public void
read()

Overrides com.sun.jna.Structure.read.

Reads the fields of the struct from native memory
public void
setRgAuthAttr(WinCrypt.CRYPT_ATTRIBUTE[]
array of CRYPT_ATTRIBUTE - it must be created from a continous memory region (manually allocated memory or CRYPT_ATTRIBUTE#toArray)
rgAuthAttrs
)

public void
public void
public void
setRgUnauthAttr(WinCrypt.CRYPT_ATTRIBUTE[]
array of CRYPT_ATTRIBUTE - it must be created from a continous memory region (manually allocated memory or CRYPT_ATTRIBUTE#toArray)
rgUnauthAttrs
)

public void
write()

Overrides com.sun.jna.Structure.write.

Writes the fields of the struct to native memory

Field Detail

rgAuthAttrsback to summary
private WinCrypt.CRYPT_ATTRIBUTE[] rgAuthAttrs
rgpMsgCertsback to summary
private WinCrypt.CERT_CONTEXT[] rgpMsgCerts
rgpMsgCrlsback to summary
private WinCrypt.CRL_CONTEXT[] rgpMsgCrls
rgUnauthAttrsback to summary
private WinCrypt.CRYPT_ATTRIBUTE[] rgUnauthAttrs

Constructor Detail

MANAGED_CRYPT_SIGN_MESSAGE_PARAback to summary
public MANAGED_CRYPT_SIGN_MESSAGE_PARA()

Method Detail

getRgAuthAttrback to summary
public WinCrypt.CRYPT_ATTRIBUTE[] getRgAuthAttr()

Overrides com.sun.jna.platform.win32.WinCrypt.CRYPT_SIGN_MESSAGE_PARA.getRgAuthAttr.

Annotations
@Override
getRgpMsgCertback to summary
public WinCrypt.CERT_CONTEXT[] getRgpMsgCert()

Overrides com.sun.jna.platform.win32.WinCrypt.CRYPT_SIGN_MESSAGE_PARA.getRgpMsgCert.

Annotations
@Override
getRgpMsgCrlback to summary
public WinCrypt.CRL_CONTEXT[] getRgpMsgCrl()

Overrides com.sun.jna.platform.win32.WinCrypt.CRYPT_SIGN_MESSAGE_PARA.getRgpMsgCrl.

Annotations
@Override
getRgUnauthAttrback to summary
public WinCrypt.CRYPT_ATTRIBUTE[] getRgUnauthAttr()

Overrides com.sun.jna.platform.win32.WinCrypt.CRYPT_SIGN_MESSAGE_PARA.getRgUnauthAttr.

Annotations
@Override
readback to summary
public void read()

Overrides com.sun.jna.Structure.read.

Doc from com.sun.jna.Structure.read.

Reads the fields of the struct from native memory

Annotations
@Override
setRgAuthAttrback to summary
public void setRgAuthAttr(WinCrypt.CRYPT_ATTRIBUTE[] rgAuthAttrs)
Parameters
rgAuthAttrs:WinCrypt.CRYPT_ATTRIBUTE[]

array of CRYPT_ATTRIBUTE - it must be created from a continous memory region (manually allocated memory or CRYPT_ATTRIBUTE#toArray)

setRgpMsgCertback to summary
public void setRgpMsgCert(WinCrypt.CERT_CONTEXT[] rgpMsgCerts)
setRgpMsgCrlback to summary
public void setRgpMsgCrl(WinCrypt.CRL_CONTEXT[] rgpMsgCrls)
setRgUnauthAttrback to summary
public void setRgUnauthAttr(WinCrypt.CRYPT_ATTRIBUTE[] rgUnauthAttrs)
Parameters
rgUnauthAttrs:WinCrypt.CRYPT_ATTRIBUTE[]

array of CRYPT_ATTRIBUTE - it must be created from a continous memory region (manually allocated memory or CRYPT_ATTRIBUTE#toArray)

writeback to summary
public void write()

Overrides com.sun.jna.Structure.write.

Doc from com.sun.jna.Structure.write.

Writes the fields of the struct to native memory

Annotations
@Override