-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
627 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
CAPICOM 2.1.0.1 | ||
================ | ||
|
||
The CAPICOM Team is pleased to announce the general availability of CAPICOM | ||
2.1.0.1. This new version of CAPICOM contains the following new features: | ||
|
||
+ CertificateStatus: A new Certificates collection property that allows | ||
the caller to set or retrieve the set of additional certificates that | ||
may be useful during certificate chain building. | ||
+ CertificateStatus.CheckFlag now defaults to CAPICOM_CHECK_ONLINE_ALL | ||
+ Store: 2 new methods and 2 new properties are available on the Store | ||
object. | ||
+ Delete: Allows the caller to delete non-system certificate stores. | ||
+ Close: Allows the caller to close a certificate store. This method | ||
was added to address limitations in the JScript engine and is not | ||
needed in other environments. | ||
+ Name: Allows the caller to retrieve the name of a certificate store | ||
+ Location: Allows the caller to retrieve the location | ||
(CAPICOM_STORE_LOCATION) of a certificate store | ||
+ HashedData: Additional hash algorithms have been defined for SHA256, | ||
SHA384 and SHA512. Note that these algorithms are not available on | ||
Windows XP or below. | ||
|
||
+ CHashData.vbs has been updated to use the new hash algorithms | ||
+ Storesh.cs has been updated to use the new Delete method. | ||
|
||
CAPICOM 2.1.0.1 also addresses several bugs including: | ||
|
||
+ Memory leak when calling SignedData.Signers.Items or | ||
SignedData.Cetificates.Item in a loop | ||
+ The Certficate status object does not return an error when the | ||
Certificate Signing bit is not set in the Key Usage extension of a CA | ||
certificate in the chain. | ||
+ Changes made to a Certificate object retrieved from a collection | ||
returned by a Find not persisted. | ||
|
||
|
||
Known Issues include: | ||
+ Exporting keys to a PKCS12/PFX file fails on Windows 2000 and | ||
Windows XP with keys that are marked non-exportable even if | ||
CAPICOM_EXPORT_IGNORE_PRIVATE_KEY_NOT_EXPORTABLE_ERROR has been | ||
specified. | ||
+ It is not possible to view the contents of a SignedData object if it is | ||
signature invalid. As a work around users can use the Certificates | ||
object to open the Pkcs7 and find the signer certificate. | ||
+ The CVersion.vbs incorectly identifies the 2.0.0.3 release as version | ||
2.0. | ||
|
||
|
||
CAPICOM 2.1.0.0 is the best release of CAPICOM yet. The CAPICOM team | ||
recommends all users of previous releases of CAPICOM upgrade to the latest | ||
release. The package "CC2RINST.EXE" consists of the following files: | ||
|
||
CC2RINST.EXE | ||
| | ||
|--x86 | ||
| | | ||
| |- capicom.pdb | ||
| |--capicom.cab | ||
| | | ||
| |--capicom.dll | ||
| |--capicom.inf | ||
| | ||
|--license.txt | ||
|--readme.txt | ||
|--samples | ||
| | ||
|--asp | ||
| | | ||
| |-workflow | ||
| | ||
|--c_sharp | ||
| | | ||
| |--storesh | ||
| |--chainsh | ||
| |--xmldsig | ||
| | ||
|--cpp | ||
| | | ||
| |--isapiCertPolicy | ||
| |--store | ||
| | ||
|--html | ||
| | | ||
| |--Auxiliary.htm | ||
| |--Certificates.htm | ||
| |--EncryptedData.htm | ||
| |--HashedData.htm | ||
| |--SignData.htm | ||
| |--Store.htm | ||
| | ||
|--vb | ||
| | | ||
| |--bridgedisplay | ||
| |--find | ||
| |--privatekey | ||
| |--signcode | ||
| |--smime | ||
| | ||
|--vbs | ||
| | ||
|--CEncrypt.vbs | ||
|--CEnvelop.vbs | ||
|--CHashData.vbs | ||
|--CSignCode.vbs | ||
|--CSignData.vbs | ||
|--CStore.vbs | ||
|--CView.vbs | ||
|--CVersion.vbs | ||
|--CSetKeyPerm.vbs | ||
|
||
To install CAPICOM extract "CAPICOM.DLL" from CAPICOM.CAB to your system32 | ||
directory, then execute "regsvr32.exe CAPICOM.DLL". For more information on | ||
installing CAPICOM see the section "Getting Ready to Use CAPICOM" in the | ||
Platform SDK. | ||
|
||
We believe one of our largest strengths is our user community. Microsoft | ||
technical communities provide opportunities to interact with Microsoft | ||
employees, experts, and your peers in order to share knowledge and news | ||
about CAPICOM and related technologies. Please post your questions or | ||
comments about CAPICOM on the microsoft.public.security.crypto newsgroup. | ||
|
||
The CAPICOM team |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Windows Registry Editor Version 5.00 | ||
|
||
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers] | ||
"C:\\Windows\\System32\\regsvr32.exe"="~ RUNASADMIN" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Register] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Register\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe \"%1\"" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Unregister] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Unregister\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe -u \"%1\"" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Register] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Register\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe \"%1\"" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Unregister] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Unregister\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe -u \"%1\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Windows Registry Editor Version 5.00 | ||
|
||
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers] | ||
"C:\\Windows\\System32\\regsvr32.exe"="~ RUNASADMIN" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Register] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Register\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe \"%1\"" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Unregister] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\DllFile\Shell\Unregister\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe -u \"%1\"" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Register] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Register\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe \"%1\"" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Unregister] | ||
"HasLUAShield"="" | ||
|
||
[HKEY_CLASSES_ROOT\OcxFile\Shell\Unregister\command] | ||
@="C:\\Windows\\System32\\regsvr32.exe -u \"%1\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Imports System | ||
Imports System.Reflection | ||
Imports System.Runtime.InteropServices | ||
|
||
' General Information about an assembly is controlled through the following | ||
' set of attributes. Change these attribute values to modify the information | ||
' associated with an assembly. | ||
|
||
' Review the values of the assembly attributes | ||
|
||
<Assembly: AssemblyTitle("")> | ||
<Assembly: AssemblyDescription("")> | ||
<Assembly: AssemblyCompany("")> | ||
<Assembly: AssemblyProduct("")> | ||
<Assembly: AssemblyCopyright("")> | ||
<Assembly: AssemblyTrademark("")> | ||
<Assembly: CLSCompliant(True)> | ||
|
||
'The following GUID is for the ID of the typelib if this project is exposed to COM | ||
<Assembly: Guid("C2F1D94C-106B-4E19-A433-37519ECF8924")> | ||
|
||
' Version information for an assembly consists of the following four values: | ||
' | ||
' Major Version | ||
' Minor Version | ||
' Build Number | ||
' Revision | ||
' | ||
' You can specify all the values or you can default the Build and Revision Numbers | ||
' by using the '*' as shown below: | ||
|
||
<Assembly: AssemblyVersion("1.0.*")> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<root> | ||
<!-- | ||
Microsoft ResX Schema | ||
Version 1.3 | ||
The primary goals of this format is to allow a simple XML format | ||
that is mostly human readable. The generation and parsing of the | ||
various data types are done through the TypeConverter classes | ||
associated with the data types. | ||
Example: | ||
... ado.net/XML headers & schema ... | ||
<resheader name="resmimetype">text/microsoft-resx</resheader> | ||
<resheader name="version">1.3</resheader> | ||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||
<data name="Name1">this is my long string</data> | ||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||
[base64 mime encoded serialized .NET Framework object] | ||
</data> | ||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||
[base64 mime encoded string representing a byte array form of the .NET Framework object] | ||
</data> | ||
There are any number of "resheader" rows that contain simple | ||
name/value pairs. | ||
Each data row contains a name, and value. The row also contains a | ||
type or mimetype. Type corresponds to a .NET class that support | ||
text/value conversion through the TypeConverter architecture. | ||
Classes that don't support this are serialized and stored with the | ||
mimetype set. | ||
The mimetype is used forserialized objects, and tells the | ||
ResXResourceReader how to depersist the object. This is currently not | ||
extensible. For a given mimetype the value must be set accordingly: | ||
Note - application/x-microsoft.net.object.binary.base64 is the format | ||
that the ResXResourceWriter will generate, however the reader can | ||
read any of the formats listed below. | ||
mimetype: application/x-microsoft.net.object.binary.base64 | ||
value : The object must be serialized with | ||
: System.Serialization.Formatters.Binary.BinaryFormatter | ||
: and then encoded with base64 encoding. | ||
mimetype: application/x-microsoft.net.object.soap.base64 | ||
value : The object must be serialized with | ||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||
: and then encoded with base64 encoding. | ||
mimetype: application/x-microsoft.net.object.bytearray.base64 | ||
value : The object must be serialized into a byte array | ||
: using a System.ComponentModel.TypeConverter | ||
: and then encoded with base64 encoding. | ||
--> | ||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||
<xsd:element name="root" msdata:IsDataSet="true"> | ||
<xsd:complexType> | ||
<xsd:choice maxOccurs="unbounded"> | ||
<xsd:element name="data"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | ||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:element name="resheader"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string" use="required" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:choice> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> | ||
<resheader name="resmimetype"> | ||
<value>text/microsoft-resx</value> | ||
</resheader> | ||
<resheader name="version"> | ||
<value>1.3</value> | ||
</resheader> | ||
<resheader name="reader"> | ||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||
</resheader> | ||
<resheader name="writer"> | ||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||
</resheader> | ||
<data name="Button1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>False</value> | ||
</data> | ||
<data name="Button1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>Assembly</value> | ||
</data> | ||
<data name="Button1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>Assembly</value> | ||
</data> | ||
<data name="LinkLabel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>Assembly</value> | ||
</data> | ||
<data name="LinkLabel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>Assembly</value> | ||
</data> | ||
<data name="LinkLabel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>False</value> | ||
</data> | ||
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>False</value> | ||
</data> | ||
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>(Default)</value> | ||
</data> | ||
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>False</value> | ||
</data> | ||
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>False</value> | ||
</data> | ||
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
<value>8, 8</value> | ||
</data> | ||
<data name="$this.Name"> | ||
<value>Form1</value> | ||
</data> | ||
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>True</value> | ||
</data> | ||
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>80</value> | ||
</data> | ||
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>True</value> | ||
</data> | ||
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<value>Assembly</value> | ||
</data> | ||
</root> |
Oops, something went wrong.