Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7840 > unrolled thread
| Started by | Andrew Dunn <andrewdunn50@gmail.com> |
|---|---|
| First post | 2015-03-08 22:42 -0700 |
| Last post | 2015-03-10 08:59 +0000 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
crypt32.dll Andrew Dunn <andrewdunn50@gmail.com> - 2015-03-08 22:42 -0700
Re: crypt32.dll "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2015-03-09 09:06 +0000
Re: crypt32.dll "Gerhard Bunzel" <g.bunzel@domonet.de> - 2015-03-09 10:24 +0100
Re: crypt32.dll Andrew Dunn <andrewdunn50@gmail.com> - 2015-03-09 15:08 -0700
Re: crypt32.dll "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2015-03-10 08:59 +0000
| From | Andrew Dunn <andrewdunn50@gmail.com> |
|---|---|
| Date | 2015-03-08 22:42 -0700 |
| Subject | crypt32.dll |
| Message-ID | <c6147cf1-cc6f-45b3-ad7a-0a385f1cea7d@googlegroups.com> |
Hi, Does anyone have available the Visual Objects import declarations for the windows Crypt32.dll? Thank you, Andrew
[toc] | [next] | [standalone]
| From | "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> |
|---|---|
| Date | 2015-03-09 09:06 +0000 |
| Message-ID | <mdjnqh$g3q$1@dont-email.me> |
| In reply to | #7840 |
Hi Andrew, Is it possible to share them with me, if someone else has these declarations? Dirk, Belgium =============================================== Andrew Dunn wrote: > Hi, > > Does anyone have available the Visual Objects import declarations for > the windows Crypt32.dll? > > Thank you, > > Andrew --
[toc] | [prev] | [next] | [standalone]
| From | "Gerhard Bunzel" <g.bunzel@domonet.de> |
|---|---|
| Date | 2015-03-09 10:24 +0100 |
| Message-ID | <mdjoll$69j$1@news.m-online.net> |
| In reply to | #7840 |
Andrew,
..here it is:
STRUCTURE winCryptoAPI_Blob ALIGN 1
MEMBER cbData AS DWORD
MEMBER pbData AS PTR
STRUCTURE winCrypt_Algorithm_Identifier ALIGN 1
MEMBER pszObjID AS PSZ
MEMBER Params AS winCryptoAPI_Blob PTR
STRUCTURE winFileTime ALIGN 1
MEMBER dwLowDateTime AS DWORD
MEMBER dwHighDateTime AS DWORD
STRUCTURE winCertPublicKeyInfo ALIGN 1
MEMBER Algorithm AS winCrypt_Algorithm_Identifier
MEMBER PublicKey AS winCryptoAPI_Blob
STRUCTURE winCert_Extension ALIGN 1
MEMBER pszObjId AS PSZ
MEMBER fCritical AS LOGIC
MEMBER Value AS winCryptoAPI_Blob
STRUCTURE winCert_Info ALIGN 1
MEMBER dwVersion AS DWORD
MEMBER SerialNumber AS winCryptoAPI_Blob
MEMBER Issuer AS winCryptoAPI_Blob
MEMBER NotBefore AS winFileTime
MEMBER NotAfter AS winFileTime
MEMBER Subject AS winCryptoAPI_Blob
MEMBER SubjectPublicKeyInfo AS winCertPublicKeyInfo
MEMBER IssuerUniqueID AS winCryptoAPI_Blob
MEMBER SubjectUniqueID AS winCryptoAPI_Blob
MEMBER cExtension AS DWORD
MEMBER rgExtension AS winCert_Extension
STRUCTURE winCert_Context ALIGN 1
MEMBER dwCertEncodingType AS DWORD
MEMBER pbCertEncoded AS PTR
MEMBER cbCertEncoded AS DWORD
MEMBER pCertInfo AS winCert_Info
MEMBER hCertStore AS PTR
STRUCTURE winCrl_Info ALIGN 1
MEMBER dwVersion AS DWORD
MEMBER SignatureAlgorithm AS winCrypt_Algorithm_Identifier
MEMBER Issuer AS winCryptoAPI_Blob
MEMBER ThisUpdate AS winFileTime
MEMBER NextUpdate AS winFileTime
MEMBER cCRLEntry AS DWORD
MEMBER rgCRLEntry AS winCrl_Entry
MEMBER cExtension AS DWORD
MEMBER rgExtension AS winCert_Extension
STRUCTURE winCrl_Entry ALIGN 1
MEMBER SerialNumber AS winCryptoAPI_Blob
MEMBER RevocationDate AS winFileTime
MEMBER cExtension AS DWORD
MEMBER rgExtension AS winCert_Extension
STRUCTURE winCrl_Context ALIGN 1
MEMBER dwCertEncodingType AS DWORD
MEMBER pbCrlEncoded AS PTR
MEMBER cbCrlEncoded AS DWORD
MEMBER pCrlInfo AS winCrl_Info
MEMBER hCertStore AS PTR
STRUCTURE winCrypt_Sign_Message_Para ALIGN 1
MEMBER cbSize AS DWORD
MEMBER dwMessageEncodingType AS DWORD
MEMBER pSigningCert AS winCert_Context
MEMBER HashAlgorithm AS winCrypt_Algorithm_Identifier
MEMBER pvHashAuxInfo AS PTR
MEMBER cMsgCert AS DWORD
MEMBER rgpMsgCert AS winCert_Context
MEMBER cMsgCrl AS DWORD
MEMBER rgpMsgCrl AS winCrl_Context
MEMBER cAuthAttrib AS DWORD
MEMBER rgAuthAttrib AS winCrypt_Attribute
MEMBER cUnauthAttrib AS DWORD
MEMBER rgUnauthAttrib AS winCrypt_Attribute
MEMBER dwFlags AS DWORD
MEMBER dwInnerContentType AS DWORD
STRUCTURE winCrypt_Attribute ALIGN 1
MEMBER pszObjId AS PSZ
MEMBER cValue AS DWORD
MEMBER rgValue AS winCryptoAPI_Blob
_DLL FUNCTION CertOpenStore(lpszStoreProvider AS PSZ,
dwMsgAndCertEncodingType AS DWORD, hCryptProvider AS DWORD, dwFlags AS
DWORD, pvPara AS PTR) AS PTR PASCAL:crypt32.CertOpenStore
_DLL FUNCTION CertFindCertificateInStore(hCertStore AS PTR,
dwCertEncodingType AS DWORD, dwFindFlags AS DWORD, dwFindType AS DWORD,
pvFindPara AS PTR, pCertContext AS winCert_Context) AS winCert_Context
PASCAL:crypt32.CertFindCertificateInStore
STRUCTURE winCrypt_Verify_Message_Para ALIGN 1
MEMBER cbSize AS DWORD
MEMBER dwMsgAndCertEncodingType AS DWORD
MEMBER hCryptProv AS DWORD
MEMBER pfnGetSignerCertificate AS PTR // pointer to callback function
MEMBER pvGetArg AS PTR
_DLL FUNCTION CryptSignMessage(pSignPara AS winCrypt_Sign_Message_Para,
fDetachedSignature AS LOGIC, cToBeSigned AS DWORD, rgpbToBeSigned AS PTR,
rgcbToBeSigned AS DWORD, pbSignedBlob AS PTR, pcbSignedBlob AS DWORD PTR) AS
LOGIC PASCAL:crypt32.CryptSignMessage
_DLL FUNCTION CryptVerifyMessageSignature(pVerifyPara AS
winCrypt_Verify_Message_Para, dwSignerIndex AS DWORD, pbSignedBlob AS PTR,
cbSignedBlob AS DWORD, pbDecoded AS PTR, pcbDecoded AS DWORD PTR,
ppSignerCert AS winCert_Context) AS LOGIC
PASCAL:crypt32.CryptVerifyMessageSignature
DEFINE CERT_STORE_SIGNATURE_FLAG :=0x00000001
DEFINE CERT_STORE_TIME_VALIDITY_FLAG :=0x00000002
DEFINE CERT_STORE_REVOCATION_FLAG :=0x00000004
DEFINE CERT_STORE_NO_CRL_FLAG :=0x00010000
DEFINE CERT_STORE_NO_ISSUER_FLAG :=0x00020000
DEFINE CERT_STORE_NO_CRYPT_RELEASE_FLAG :=0x00000001
DEFINE CERT_STORE_READONLY_FLAG :=0x00008000
DEFINE CERT_SYSTEM_STORE_LOCATION_MASK :=0x00030000
DEFINE CERT_SYSTEM_STORE_CURRENT_USER :=0x00010000
DEFINE CERT_SYSTEM_STORE_LOCAL_MACHINE :=0x00020000
DEFINE CERT_STORE_PROV_MSG :=PSZ(_CAST, 1)
DEFINE CERT_STORE_PROV_MEMORY :=PSZ(_CAST, 2)
DEFINE CERT_STORE_PROV_FILE :=PSZ(_CAST, 3)
DEFINE CERT_STORE_PROV_REG :=PSZ(_CAST, 4)
DEFINE CERT_STORE_PROV_PKCS7 :=PSZ(_CAST, 5)
DEFINE CERT_STORE_PROV_SERIALIZED :=PSZ(_CAST, 6)
DEFINE CERT_STORE_PROV_FILENAME_A :=PSZ(_CAST, 7)
DEFINE CERT_STORE_PROV_FILENAME_W :=PSZ(_CAST, 8)
DEFINE CERT_STORE_PROV_FILENAME :=PSZ(_CAST, 8)
DEFINE CERT_STORE_PROV_SYSTEM_A :=PSZ(_CAST, 9)
DEFINE CERT_STORE_PROV_SYSTEM_W :=PSZ(_CAST, 10)
DEFINE CERT_STORE_PROV_SYSTEM :=PSZ(_CAST, 10)
DEFINE CRYPT_ASN_ENCODING :=0x00000001
DEFINE CRYPT_NDR_ENCODING :=0x00000002
DEFINE X509_ASN_ENCODING :=0x00000001
DEFINE X509_NDR_ENCODING :=0x00000002
DEFINE PKCS_7_ASN_ENCODING :=0x00010000
DEFINE PKCS_7_NDR_ENCODING :=0x00020000
DEFINE CERT_COMPARE_MASK :=0xFFFF
DEFINE CERT_COMPARE_SHIFT :=16
DEFINE CERT_COMPARE_ANY :=0
DEFINE CERT_COMPARE_SHA1_HASH :=1
DEFINE CERT_COMPARE_NAME :=2
DEFINE CERT_COMPARE_ATTR :=3
DEFINE CERT_COMPARE_MD5_HASH :=4
DEFINE CERT_COMPARE_PROPERTY :=5
DEFINE CERT_COMPARE_PUBLIC_KEY :=6
DEFINE CERT_COMPARE_HASH :=1
DEFINE CERT_COMPARE_NAME_STR_A :=7
DEFINE CERT_COMPARE_NAME_STR_W :=8
DEFINE CERT_COMPARE_KEY_SPEC :=9
DEFINE CERT_COMPARE_ENHKEY_USAGE :=10
DEFINE CERT_COMPARE_CTL_USAGE :=10
DEFINE CERT_FIND_ANY :=(0 << 16)
DEFINE CERT_FIND_SHA1_HASH :=(1 << 16)
DEFINE CERT_FIND_MD5_HASH :=(4 << 16)
DEFINE CERT_FIND_HASH :=1
DEFINE CERT_FIND_PROPERTY :=(5 << 16)
DEFINE CERT_FIND_PUBLIC_KEY :=(6 << 16)
DEFINE CERT_FIND_KEY_SPEC :=(9 << 16)
DEFINE CERT_FIND_ENHKEY_USAGE :=(10 << 16)
DEFINE CERT_FIND_CTL_USAGE :=(10 << 16)
DEFINE CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG :=0x1
DEFINE CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG :=0x2
DEFINE CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG :=0x4
DEFINE CERT_FIND_NO_ENHKEY_USAGE_FLAG :=0x8
DEFINE CERT_FIND_OPTIONAL_CTL_USAGE_FLAG :=0x1
DEFINE CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG :=0x1
DEFINE CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG :=0x1
DEFINE CERT_FIND_NO_CTL_USAGE_FLAG :=0x1
DEFINE CERT_INFO_VERSION_FLAG :=1
DEFINE CERT_INFO_SERIAL_NUMBER_FLAG :=2
DEFINE CERT_INFO_SIGNATURE_ALGORITHM_FLAG :=3
DEFINE CERT_INFO_ISSUER_FLAG :=4
DEFINE CERT_INFO_NOT_BEFORE_FLAG :=5
DEFINE CERT_INFO_NOT_AFTER_FLAG :=6
DEFINE CERT_INFO_SUBJECT_FLAG :=7
DEFINE CERT_INFO_SUBJECT_PUBLIC_KEY_INFO_FLAG :=8
DEFINE CERT_INFO_ISSUER_UNIQUE_ID_FLAG :=9
DEFINE CERT_INFO_SUBJECT_UNIQUE_ID_FLAG :=10
DEFINE CERT_INFO_EXTENSION_FLAG :=11
DEFINE CERT_FIND_SUBJECT_NAME :=(2 << 16 + 7)
DEFINE CERT_FIND_SUBJECT_ATTR :=(3 << 16 + 7)
DEFINE CERT_FIND_ISSUER_NAME :=(2 << 16 + 4)
DEFINE CERT_FIND_ISSUER_ATTR :=(3 << 16 + 4)
DEFINE CERT_FIND_SUBJECT_STR_A :=(7 << 16 + 7)
DEFINE CERT_FIND_SUBJECT_STR_W :=(8 << 16 + 7)
DEFINE CERT_FIND_SUBJECT_STR :=(8 << 16 + 7)
DEFINE CERT_FIND_ISSUER_STR_A :=(7 << 16 + 4)
DEFINE CERT_FIND_ISSUER_STR_W :=(8 << 16 + 4)
DEFINE CERT_FIND_ISSUER_STR :=(8 << 16 + 4)
_DLL FUNCTION CertOpenSystemStore(hProv AS PTR, szSubsystemProtocol AS PSZ)
AS PTR PASCAL:crypt32.CertOpenSystemStoreA
_DLL FUNCTION CertEnumCertificatesInStore(hCertStore AS PTR,
pPrevCertContext AS winCert_Context) AS winCert_Context
PASCAL:crypt32.CertEnumCertificatesInStore
_DLL FUNCTION CertGetNameString(pCertContext AS winCert_Context, dwType AS
DWORD, dwFlags AS DWORD, pvTypePara AS PTR, pszNameString AS PSZ,
ccbNameString AS DWORD) AS DWORD PASCAL:crypt32.CertGetNameStringA
DEFINE CERT_NAME_EMAIL_TYPE :=1
DEFINE CERT_NAME_RDN_TYPE :=2
DEFINE CERT_NAME_ATTR_TYPE :=3
DEFINE CERT_NAME_SIMPLE_DISPLAY_TYPE :=4
DEFINE CERT_NAME_FRIENDLY_DISPLAY_TYPE :=5
DEFINE CERT_NAME_ISSUER_FLAG :=0x1
DEFINE CERT_NAME_DISABLE_IE4_UTF8_FLAG :=0x00010000
_DLL FUNCTION CertEnumCertificateContextProperties(pCertContext AS
winCert_Context, dwPropId AS DWORD) AS DWORD
PASCAL:crypt32.CertEnumCertificateContextProperties
DEFINE CERT_KEY_PROV_HANDLE_PROP_ID :=1
DEFINE CERT_KEY_PROV_INFO_PROP_ID :=2
DEFINE CERT_SHA1_HASH_PROP_ID :=3
DEFINE CERT_MD5_HASH_PROP_ID :=4
DEFINE CERT_HASH_PROP_ID :=3
DEFINE CERT_KEY_CONTEXT_PROP_ID :=5
DEFINE CERT_KEY_SPEC_PROP_ID :=6
DEFINE CERT_IE30_RESERVED_PROP_ID :=7
DEFINE CERT_PUBKEY_HASH_RESERVED_PROP_ID :=8
DEFINE CERT_ENHKEY_USAGE_PROP_ID :=9
DEFINE CERT_CTL_USAGE_PROP_ID :=9
DEFINE CERT_NEXT_UPDATE_LOCATION_PROP_ID :=10
DEFINE CERT_FRIENDLY_NAME_PROP_ID :=11
DEFINE CERT_PVK_FILE_PROP_ID :=12
DEFINE CERT_DESCRIPTION_PROP_ID :=13
DEFINE CERT_ACCESS_STATE_PROP_ID :=14
DEFINE CERT_SIGNATURE_HASH_PROP_ID :=15
DEFINE CERT_SMART_CARD_DATA_PROP_ID :=16
DEFINE CERT_EFS_PROP_ID :=17
DEFINE CERT_FORTEZZA_DATA_PROP_ID :=18
DEFINE CERT_ARCHIVED_PROP_ID :=19
DEFINE CERT_KEY_IDENTIFIER_PROP_ID :=20
DEFINE CERT_AUTO_ENROLL_PROP_ID :=21
DEFINE CERT_PUBKEY_ALG_PARA_PROP_ID :=22
DEFINE CERT_FIRST_RESERVED_PROP_ID :=23
DEFINE CERT_LAST_RESERVED_PROP_ID :=0x00007FFF
DEFINE CERT_FIRST_USER_PROP_ID :=0x00008000
DEFINE CERT_LAST_USER_PROP_ID :=0x0000FFFF
_DLL FUNCTION CertFreeCertificateContext(pCertContext AS winCert_Context) AS
LOGIC PASCAL:crypt32.CertFreeCertificateContext
_DLL FUNCTION CertCloseStore(hCertStore AS PTR, dwFlags AS DWORD) AS LOGIC
PASCAL:crypt32.CertCloseStore
_DLL FUNCTION CertGetCertificateContextProperty(pCertContext AS
winCert_Context, dwPropID AS DWORD, pvData AS PTR, pcbData AS DWORD PTR) AS
LOGIC PASCAL:crypt32.CertGetCertificateContextProperty
HTH
Gerhard Bunzel
"Andrew Dunn" <andrewdunn50@gmail.com> schrieb im Newsbeitrag
news:c6147cf1-cc6f-45b3-ad7a-0a385f1cea7d@googlegroups.com...
> Hi,
>
> Does anyone have available the Visual Objects import declarations for the
> windows Crypt32.dll?
>
> Thank you,
>
> Andrew
[toc] | [prev] | [next] | [standalone]
| From | Andrew Dunn <andrewdunn50@gmail.com> |
|---|---|
| Date | 2015-03-09 15:08 -0700 |
| Message-ID | <51234b80-d751-4541-aaa8-e799f4ba80dd@googlegroups.com> |
| In reply to | #7842 |
Thank you Gerhard! Very much appreciated.
[toc] | [prev] | [next] | [standalone]
| From | "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> |
|---|---|
| Date | 2015-03-10 08:59 +0000 |
| Message-ID | <mdmbpo$2uu$1@dont-email.me> |
| In reply to | #7842 |
Hi Gerard, Thanks for these prototypes. I can use these for my next project. Thanks again. Dirk, Belgium =================================== Gerhard Bunzel wrote: > Andrew, > > ..here it is: > > ...... > > HTH > > Gerhard Bunzel > > > "Andrew Dunn" <andrewdunn50@gmail.com> schrieb im Newsbeitrag > news:c6147cf1-cc6f-45b3-ad7a-0a385f1cea7d@googlegroups.com... > > Hi, > > > > Does anyone have available the Visual Objects import declarations > > for the windows Crypt32.dll? > > > > Thank you, > > > > Andrew --
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web