CertStoreType Property
The type of certificate store for CertStore .
Syntax
public int getCertStoreType(); public void setCertStoreType(int certStoreType);
Enumerated values: public final static int cstUser = 0; public final static int cstMachine = 1; public final static int cstPFXFile = 2; public final static int cstPFXBlob = 3; public final static int cstJKSFile = 4; public final static int cstJKSBlob = 5; public final static int cstPEMKeyFile = 6; public final static int cstPEMKeyBlob = 7; public final static int cstPublicKeyFile = 8; public final static int cstPublicKeyBlob = 9; public final static int cstSSHPublicKeyBlob = 10; public final static int cstP7BFile = 11; public final static int cstP7BBlob = 12; public final static int cstSSHPublicKeyFile = 13; public final static int cstPPKFile = 14; public final static int cstPPKBlob = 15; public final static int cstXMLFile = 16; public final static int cstXMLBlob = 17;
Remarks
This property can take one of the following values:
0 (cstUser - default) | For Windows, this specifies that the certificate store is a certificate store owned by the current user. Note: this store type is not available in Java. |
1 (cstMachine) | For Windows, this specifies that the certificate store is a machine store. Note: this store type is not available in Java. |
2 (cstPFXFile) | The certificate store is the name of a PFX (PKCS12) file containing certificates. |
3 (cstPFXBlob) | The certificate store is a string (binary or base64-encoded) representing a certificate store in PFX (PKCS12) format. |
4 (cstJKSFile) | The certificate store is the name of a Java Key Store (JKS) file containing certificates. Note: this store type is only available in Java. |
5 (cstJKSBlob) | The certificate store is a string (binary or base64-encoded) representing a certificate store in Java Key Store (JKS) format. Note: this store type is only available in Java. |
6 (cstPEMKeyFile) | The certificate store is the name of a PEM-encoded file that contains a private key and an optional certificate. |
7 (cstPEMKeyBlob) | The certificate store is a string (binary or base64-encoded) that contains a private key and an optional certificate. |
8 (cstPublicKeyFile) | The certificate store is the name of a file that contains a PEM- or DER-encoded public key certificate. |
9 (cstPublicKeyBlob) | The certificate store is a string (binary or base64-encoded) that contains a PEM- or DER-encoded public key certificate. |
10 (cstSSHPublicKeyBlob) | The certificate store is a string (binary or base64-encoded) that contains an SSH-style public key. |
11 (cstP7BFile) | The certificate store is the name of a PKCS7 file containing certificates. |
12 (cstP7BBlob) | The certificate store is a string (binary) representing a certificate store in PKCS7 format. |
13 (cstSSHPublicKeyFile) | The certificate store is the name of a file that contains an SSH-style public key. |
14 (cstPPKFile) | The certificate store is the name of a file that contains a PPK (PuTTY Private Key). |
15 (cstPPKBlob) | The certificate store is a string (binary) that contains a PPK (PuTTY Private Key). |
16 (cstXMLFile) | The certificate store is the name of a file that contains a certificate in XML format. |
17 (cstXMLBlob) | The certificate store is a string that contains a certificate in XML format. |
Default Value
0