IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
JavaScience.PfxOpen Class Reference

Public Member Functions

override string ToString ()
 

Properties

String container [get]
 
String provider [get]
 
uint providertype [get]
 
uint keyspec [get]
 
X509Certificate cert [get]
 
uint keysize [get]
 
byte[] keyexponent [get]
 
byte[] keymodulus [get]
 

Private Member Functions

bool GetCertPublicKey (X509Certificate cert)
 

Static Private Member Functions

static byte[] GetFileBytes (String filename)
 
static void showWin32Error (int errorcode)
 

Private Attributes

const String TITLE = "PfxOpen"
 
const uint CRYPT_EXPORTABLE = 0x00000001
 
const uint CRYPT_USER_PROTECTED = 0x00000002
 
const uint CRYPT_MACHINE_KEYSET = 0x00000020
 
const uint CRYPT_USER_KEYSET = 0x00001000
 
const uint CERT_KEY_PROV_INFO_PROP_ID = 0x00000002
 
const uint X509_ASN_ENCODING = 0x00000001
 
const uint PKCS_7_ASN_ENCODING = 0x00010000
 
const uint RSA_CSP_PUBLICKEYBLOB = 19
 
bool verbose = false
 
String[] CSPTypes
 
String[] keyspecs = {null, "AT_KEYEXCHANGE", "AT_SIGNATURE"}
 
X509Certificate pfxcert
 
String pfxcontainer
 
String pfxprovname
 
uint pfxprovtype
 
uint pfxkeyspec
 
uint pfxcertkeysize
 
byte[] pfxcertkeyexponent
 
byte[] pfxcertkeymodulus
 

Static Private Attributes

static uint ENCODING_TYPE = PKCS_7_ASN_ENCODING | X509_ASN_ENCODING
 

Member Function Documentation

override string JavaScience.PfxOpen.ToString ( )
inline
static byte [] JavaScience.PfxOpen.GetFileBytes ( String  filename)
inlinestaticprivate
static void JavaScience.PfxOpen.showWin32Error ( int  errorcode)
inlinestaticprivate

Member Data Documentation

const String JavaScience.PfxOpen.TITLE = "PfxOpen"
private
const uint JavaScience.PfxOpen.CRYPT_EXPORTABLE = 0x00000001
private
const uint JavaScience.PfxOpen.CRYPT_USER_PROTECTED = 0x00000002
private
const uint JavaScience.PfxOpen.CRYPT_MACHINE_KEYSET = 0x00000020
private
const uint JavaScience.PfxOpen.CRYPT_USER_KEYSET = 0x00001000
private
const uint JavaScience.PfxOpen.CERT_KEY_PROV_INFO_PROP_ID = 0x00000002
private
const uint JavaScience.PfxOpen.X509_ASN_ENCODING = 0x00000001
private
const uint JavaScience.PfxOpen.PKCS_7_ASN_ENCODING = 0x00010000
private
const uint JavaScience.PfxOpen.RSA_CSP_PUBLICKEYBLOB = 19
private
uint JavaScience.PfxOpen.ENCODING_TYPE = PKCS_7_ASN_ENCODING | X509_ASN_ENCODING
staticprivate
bool JavaScience.PfxOpen.verbose = false
private
String [] JavaScience.PfxOpen.CSPTypes
private
Initial value:
= {
null,
"PROV_RSA_FULL",
"PROV_RSA_SIG",
"PROV_DSS",
"PROV_FORTEZZA",
"PROV_MS_EXCHANGE",
"PROV_SSL",
null, null, null, null, null,
"PROV_RSA_SCHANNEL",
"PROV_DSS_DH",
"PROV_EC_ECDSA_SIG",
"PROV_EC_ECNRA_SIG",
"PROV_EC_ECDSA_FULL",
"PROV_EC_ECNRA_FULL",
"PROV_DH_SCHANNEL",
null,
"PROV_SPYRUS_LYNKS",
"PROV_RNG",
"PROV_INTEL_SEC",
"PROV_REPLACE_OWF",
"PROV_RSA_AES"
}
String [] JavaScience.PfxOpen.keyspecs = {null, "AT_KEYEXCHANGE", "AT_SIGNATURE"}
private
X509Certificate JavaScience.PfxOpen.pfxcert
private
String JavaScience.PfxOpen.pfxcontainer
private
String JavaScience.PfxOpen.pfxprovname
private
uint JavaScience.PfxOpen.pfxprovtype
private
uint JavaScience.PfxOpen.pfxkeyspec
private
uint JavaScience.PfxOpen.pfxcertkeysize
private
byte [] JavaScience.PfxOpen.pfxcertkeyexponent
private
byte [] JavaScience.PfxOpen.pfxcertkeymodulus
private

Property Documentation

String JavaScience.PfxOpen.container
get
String JavaScience.PfxOpen.provider
get
uint JavaScience.PfxOpen.providertype
get
uint JavaScience.PfxOpen.keyspec
get
X509Certificate JavaScience.PfxOpen.cert
get
uint JavaScience.PfxOpen.keysize
get
byte [] JavaScience.PfxOpen.keyexponent
get
byte [] JavaScience.PfxOpen.keymodulus
get

The documentation for this class was generated from the following file: