ReactOS 0.4.16-dev-981-g80eb313
|
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "winnls.h"
#include "snmp.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "crypt32_private.h"
Go to the source code of this file.
Classes | |
struct | AsnDecodeSequenceItem |
struct | AsnArrayDescriptor |
struct | AsnArrayItemSize |
struct | PATH_LEN_CONSTRAINT |
struct | DECODED_RSA_PUB_KEY |
struct | DECODED_RSA_PRIV_KEY |
Macros | |
#define | NONAMELESSUNION |
#define | MAX_ENCODED_LEN 0x02000000 |
#define | ASN_FLAGS_MASK 0xe0 |
#define | ASN_TYPE_MASK 0x1f |
#define | GET_LEN_BYTES(b) ((b) <= 0x80 ? 1 : 1 + ((b) & 0x7f)) |
#define | FINALMEMBERSIZE(s, member) (sizeof(s) - offsetof(s, member)) |
#define | MEMBERSIZE(s, member, nextmember) (offsetof(s, nextmember) - offsetof(s, member)) |
#define | RSA1_MAGIC 0x31415352 |
#define | RSA2_MAGIC 0x32415352 |
#define | CRYPT_TIME_GET_DIGITS(pbEncoded, len, numDigits, word) |
#define | MIN_ENCODED_TIME_LENGTH 10 |
Typedefs | |
typedef BOOL(WINAPI * | CryptDecodeObjectFunc) (DWORD, LPCSTR, const BYTE *, DWORD, DWORD, void *, DWORD *) |
typedef BOOL(WINAPI * | CryptDecodeObjectExFunc) (DWORD, LPCSTR, const BYTE *, DWORD, DWORD, PCRYPT_DECODE_PARA, void *, DWORD *) |
typedef BOOL(* | InternalDecodeFunc) (const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags, void *pvStructInfo, DWORD *pcbStructInfo, DWORD *pcbDecoded) |
|
static |
Definition at line 3200 of file decode.c.
Referenced by CRYPT_AsnDecodeAuthorityInfoAccess().
|
static |
Definition at line 2849 of file decode.c.
Referenced by CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCertSignedContent(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodeEncryptedContentInfo(), CRYPT_AsnDecodePKCSDigestedData(), CRYPT_AsnDecodePKCSSignerInfoInternal(), CRYPT_AsnDecodePubKeyInfoInternal(), and CRYPT_AsnDecodeRecipientInfo().
|
static |
Definition at line 3398 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2984 of file decode.c.
Referenced by CRYPT_AsnDecodeAccessDescription(), CRYPT_AsnDecodeAltNameInternal(), CRYPT_AsnDecodeDistPointName(), and CRYPT_AsnDecodeSubtree().
|
static |
Definition at line 3108 of file decode.c.
Referenced by CRYPT_AsnDecodeAltName(), CRYPT_AsnDecodeAuthorityKeyId2(), and CRYPT_AsnDecodeDistPoint().
|
static |
Definition at line 613 of file decode.c.
Referenced by CRYPT_AsnDecodeAltNameInternal(), CRYPT_AsnDecodeAuthorityInfoAccess(), CRYPT_AsnDecodeCertExtensionsInternal(), CRYPT_AsnDecodeCertPolicies(), CRYPT_AsnDecodeCertPolicyMappings(), CRYPT_AsnDecodeCMSCertEncoded(), CRYPT_AsnDecodeCMSCrlEncoded(), CRYPT_AsnDecodeCRLDistPoints(), CRYPT_AsnDecodeCRLEntries(), CRYPT_AsnDecodeCRLEntryExtensions(), CRYPT_AsnDecodeCRLExtensionsInternal(), CRYPT_AsnDecodeCTLEntries(), CRYPT_AsnDecodeCTLEntryAttributes(), CRYPT_AsnDecodeCTLExtensionsInternal(), CRYPT_AsnDecodeCTLUsage(), CRYPT_AsnDecodeDistPointName(), CRYPT_AsnDecodeEnhancedKeyUsage(), CRYPT_AsnDecodeExcludedSubtree(), CRYPT_AsnDecodeExtensions(), CRYPT_AsnDecodeName(), CRYPT_AsnDecodeNoticeNumbers(), CRYPT_AsnDecodePermittedSubtree(), CRYPT_AsnDecodePKCSAttributes(), CRYPT_AsnDecodePKCSAttributesInternal(), CRYPT_AsnDecodePKCSAttributeValue(), CRYPT_AsnDecodePolicyQualifiers(), CRYPT_AsnDecodeRdn(), CRYPT_AsnDecodeSMIMECapabilities(), CRYPT_AsnDecodeSubtreeConstraints(), CRYPT_AsnDecodeUnicodeName(), CRYPT_AsnDecodeUnicodeRdn(), CRYPT_DecodeRecipientInfoArray(), and CRYPT_DecodeSignerArray().
|
static |
Definition at line 3219 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3128 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3163 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3509 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3544 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4326 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4271 of file decode.c.
Referenced by CRYPT_AsnDecodeBasicConstraints(), CRYPT_AsnDecodeBits(), CRYPT_AsnDecodeBitsSwapBytes(), CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCertSignedContent(), CRYPT_AsnDecodeDistPoint(), CRYPT_AsnDecodeIssuingDistPoint(), and CRYPT_AsnDecodePubKeyInfoInternal().
|
static |
Definition at line 831 of file decode.c.
Referenced by CRYPT_AsnDecodeCertSignedContent().
|
static |
Definition at line 2941 of file decode.c.
Referenced by CRYPT_AsnDecodeBasicConstraints2(), CRYPT_AsnDecodeExtension(), and CRYPT_AsnDecodeIssuingDistPoint().
|
static |
Definition at line 1049 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 963 of file decode.c.
Referenced by CRYPT_AsnDecodeCertInfo().
|
static |
Definition at line 944 of file decode.c.
Referenced by CRYPT_AsnDecodeCertExtensions().
|
static |
Definition at line 982 of file decode.c.
Referenced by CRYPT_AsnDecodeCert().
|
static |
Definition at line 3643 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3619 of file decode.c.
Referenced by CRYPT_AsnDecodeCertPolicies().
|
static |
Definition at line 3826 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3676 of file decode.c.
Referenced by CRYPT_AsnDecodeCertPolicyMappings().
|
static |
Definition at line 3700 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 867 of file decode.c.
Referenced by CRYPT_AsnDecodeCert(), CRYPT_AsnDecodeCRL(), and CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 908 of file decode.c.
Referenced by CRYPT_AsnDecodeCertInfo().
|
static |
Definition at line 5011 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4989 of file decode.c.
Referenced by CRYPT_AsnDecodeChoiceOfTime(), CRYPT_AsnDecodeCRLEntry(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), and CRYPT_AsnDecodeValidity().
|
static |
Definition at line 5634 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignedInfo().
|
static |
Definition at line 5654 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignedInfo().
BOOL CRYPT_AsnDecodeCMSSignedInfo | ( | const BYTE * | pbEncoded, |
DWORD | cbEncoded, | ||
DWORD | dwFlags, | ||
PCRYPT_DECODE_PARA | pDecodePara, | ||
CRYPT_SIGNED_INFO * | signedInfo, | ||
DWORD * | pcbSignedInfo | ||
) |
Definition at line 5822 of file decode.c.
Referenced by CDecodeMsg_DecodeSignedContent().
|
static |
Definition at line 5674 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignerInfoInternal().
|
static |
Definition at line 5760 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 5716 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignerInfo(), and CRYPT_DecodeSignerArray().
|
static |
Definition at line 2103 of file decode.c.
Referenced by CRYPT_AsnDecodeAlgorithmId(), CRYPT_AsnDecodeCMSCertEncoded(), CRYPT_AsnDecodeCMSCrlEncoded(), CRYPT_AsnDecodePKCSAttributeValue(), CRYPT_AsnDecodePKCSContent(), CRYPT_AsnDecodeSMIMECapability(), and CRYPT_AsnDecodeSubtreeConstraints().
|
static |
Definition at line 1246 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 5248 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 1153 of file decode.c.
Referenced by CRYPT_AsnDecodeCRLInfo().
|
static |
Definition at line 1118 of file decode.c.
Referenced by CRYPT_AsnDecodeCRLEntries().
|
static |
Definition at line 1099 of file decode.c.
Referenced by CRYPT_AsnDecodeCRLEntry().
|
static |
Definition at line 1191 of file decode.c.
Referenced by CRYPT_AsnDecodeCRLInfo().
|
static |
Definition at line 1172 of file decode.c.
Referenced by CRYPT_AsnDecodeCRLExtensions().
|
static |
Definition at line 1210 of file decode.c.
Referenced by CRYPT_AsnDecodeCRL().
|
static |
Definition at line 2261 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2205 of file decode.c.
Referenced by CRYPT_AsnDecodeCTL().
|
static |
Definition at line 2181 of file decode.c.
Referenced by CRYPT_AsnDecodeCTLEntries().
|
static |
Definition at line 2165 of file decode.c.
Referenced by CRYPT_AsnDecodeCTLEntry().
|
static |
Definition at line 2242 of file decode.c.
Referenced by CRYPT_AsnDecodeCTL().
|
static |
Definition at line 2223 of file decode.c.
Referenced by CRYPT_AsnDecodeCTLExtensions().
|
static |
Definition at line 2150 of file decode.c.
Referenced by CRYPT_AsnDecodeCTL().
|
static |
Definition at line 784 of file decode.c.
Referenced by CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCertSignedContent(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeIssuerSerialNumber(), and CRYPT_AsnDecodePolicyQualifier().
|
static |
Definition at line 5224 of file decode.c.
Referenced by CRYPT_AsnDecodeCRLDistPoints().
|
static |
Definition at line 5156 of file decode.c.
Referenced by CRYPT_AsnDecodeDistPoint(), and CRYPT_AsnDecodeIssuingDistPoint().
|
static |
Definition at line 6019 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 5919 of file decode.c.
Referenced by CRYPT_AsnDecodePKCSEnvelopedData().
|
static |
Definition at line 5281 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4666 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 5462 of file decode.c.
Referenced by CRYPT_AsnDecodeNameConstraints().
|
static |
Definition at line 1414 of file decode.c.
Referenced by CRYPT_AsnDecodeCertExtensionsInternal(), CRYPT_AsnDecodeCRLEntryExtensions(), CRYPT_AsnDecodeCRLExtensionsInternal(), CRYPT_AsnDecodeCTLExtensionsInternal(), and CRYPT_AsnDecodeExtensions().
|
static |
Definition at line 1445 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4917 of file decode.c.
Referenced by CRYPT_AsnDecodeChoiceOfTimeInternal().
|
static |
Definition at line 2372 of file decode.c.
Referenced by CRYPT_AsnDecodeNoticeReference().
|
static |
Definition at line 3779 of file decode.c.
Referenced by CRYPT_AsnDecodeCertPolicyConstraints().
|
static |
Definition at line 4423 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4516 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4472 of file decode.c.
Referenced by CRYPT_AsnDecodeAuthorityKeyId(), CRYPT_AsnDecodeAuthorityKeyId2(), CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCRLEntry(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodeInteger(), and CRYPT_AsnDecodeIssuerSerialNumber().
|
static |
Definition at line 4382 of file decode.c.
Referenced by CRYPT_AsnDecodeCertVersion(), CRYPT_AsnDecodeCMSSignedInfo(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodeInhibitMapping(), CRYPT_AsnDecodeInt(), CRYPT_AsnDecodeMaximum(), CRYPT_AsnDecodeNoticeNumbers(), CRYPT_AsnDecodePathLenConstraint(), CRYPT_AsnDecodePKCSDigestedData(), CRYPT_AsnDecodePKCSEnvelopedData(), CRYPT_AsnDecodePKCSSignerInfoInternal(), CRYPT_AsnDecodeRecipientInfo(), CRYPT_AsnDecodeRequireExplicit(), CRYPT_AsnDecodeRsaPrivKey(), CRYPT_AsnDecodeRsaPubKey(), and CRYPT_AsnDecodeSubtree().
|
static |
Definition at line 5520 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignerId(), CRYPT_AsnDecodePKCSSignerInfoInternal(), and CRYPT_AsnDecodeRecipientInfo().
|
static |
Definition at line 5313 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 5357 of file decode.c.
Referenced by CRYPT_AsnDecodeSubtree().
|
static |
Definition at line 1901 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 5482 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 1632 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 1482 of file decode.c.
Referenced by CRYPT_AsnDecodeNameValue(), and CRYPT_AsnDecodeRdnAttr().
|
static |
Definition at line 2422 of file decode.c.
Referenced by CRYPT_AsnDecodeNoticeReference().
|
static |
Definition at line 2442 of file decode.c.
Referenced by CRYPT_AsnDecodePolicyQualifierUserNoticeInternal().
|
static |
Definition at line 5979 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4080 of file decode.c.
Referenced by CRYPT_AsnDecodeAuthorityKeyId(), CRYPT_AsnDecodeAuthorityKeyId2(), CRYPT_AsnDecodeCMSSignerId(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodeCTLEntry(), CRYPT_AsnDecodeEncryptedContentInfo(), CRYPT_AsnDecodeExtension(), CRYPT_AsnDecodePKCSDigestedData(), CRYPT_AsnDecodePKCSSignerInfoInternal(), and CRYPT_AsnDecodeRecipientInfo().
|
static |
Definition at line 4221 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4129 of file decode.c.
Referenced by CRYPT_AsnDecodeOctetString().
|
static |
Definition at line 1296 of file decode.c.
Referenced by CRYPT_AsnDecodeAlgorithmId(), CRYPT_AsnDecodeAltNameEntry(), CRYPT_AsnDecodeExtension(), CRYPT_AsnDecodeOidInternal(), CRYPT_AsnDecodePKCSAttributeInternal(), CRYPT_AsnDecodePKCSContentInfoInternal(), CRYPT_AsnDecodeRdnAttr(), CRYPT_AsnDecodeSMIMECapability(), and CRYPT_AsnDecodeUnicodeRdnAttr().
|
static |
Definition at line 1395 of file decode.c.
Referenced by CRYPT_AsnDecodeAccessDescription(), CRYPT_AsnDecodeCertPolicy(), CRYPT_AsnDecodeCertPolicyMapping(), CRYPT_AsnDecodeCTLUsage(), CRYPT_AsnDecodeEncryptedContentInfo(), CRYPT_AsnDecodeEnhancedKeyUsage(), CRYPT_AsnDecodeObjectIdentifier(), and CRYPT_AsnDecodePolicyQualifier().
|
static |
Definition at line 3449 of file decode.c.
Referenced by CRYPT_AsnDecodeBasicConstraints(), and CRYPT_AsnDecodeBasicConstraints2().
|
static |
Definition at line 5441 of file decode.c.
Referenced by CRYPT_AsnDecodeNameConstraints().
|
static |
Definition at line 2755 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2729 of file decode.c.
Referenced by CRYPT_AsnDecodeCTLEntryAttributes(), CRYPT_AsnDecodePKCSAttribute(), CRYPT_AsnDecodePKCSAttributes(), and CRYPT_AsnDecodePKCSAttributesInternal().
|
static |
Definition at line 2817 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2801 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignerInfoInternal(), and CRYPT_AsnDecodePKCSSignerInfoInternal().
|
static |
Definition at line 2710 of file decode.c.
Referenced by CRYPT_AsnDecodePKCSAttributeInternal().
|
static |
Definition at line 3252 of file decode.c.
Referenced by CRYPT_AsnDecodePKCSContentInfoInternal().
|
static |
Definition at line 3329 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3304 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignedInfo(), CRYPT_AsnDecodePKCSContentInfo(), and CRYPT_AsnDecodePKCSDigestedData().
BOOL CRYPT_AsnDecodePKCSDigestedData | ( | const BYTE * | pbEncoded, |
DWORD | cbEncoded, | ||
DWORD | dwFlags, | ||
PCRYPT_DECODE_PARA | pDecodePara, | ||
CRYPT_DIGESTED_DATA * | digestedData, | ||
DWORD * | pcbDigestedData | ||
) |
Definition at line 3371 of file decode.c.
Referenced by CDecodeMsg_DecodeHashedContent().
BOOL CRYPT_AsnDecodePKCSEnvelopedData | ( | const BYTE * | pbEncoded, |
DWORD | cbEncoded, | ||
DWORD | dwFlags, | ||
PCRYPT_DECODE_PARA | pDecodePara, | ||
CRYPT_ENVELOPED_DATA * | envelopedData, | ||
DWORD * | pcbEnvelopedData | ||
) |
Definition at line 5951 of file decode.c.
Referenced by CDecodeMsg_DecodeEnvelopedContent().
|
static |
Definition at line 5591 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 5550 of file decode.c.
Referenced by CRYPT_AsnDecodePKCSSignerInfo().
|
static |
Definition at line 3573 of file decode.c.
Referenced by CRYPT_AsnDecodePolicyQualifiers().
|
static |
Definition at line 3598 of file decode.c.
Referenced by CRYPT_AsnDecodeCertPolicy().
|
static |
Definition at line 2660 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2634 of file decode.c.
Referenced by CRYPT_AsnDecodePolicyQualifierUserNotice().
|
static |
Definition at line 2899 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2877 of file decode.c.
Referenced by CRYPT_AsnDecodeCertInfo(), and CRYPT_AsnDecodePubKeyInfo().
|
static |
Definition at line 1886 of file decode.c.
Referenced by CRYPT_AsnDecodeName().
|
static |
Definition at line 1854 of file decode.c.
Referenced by CRYPT_AsnDecodeRdn().
|
static |
Definition at line 5861 of file decode.c.
Referenced by CRYPT_DecodeRecipientInfoArray().
|
static |
Definition at line 3732 of file decode.c.
Referenced by CRYPT_AsnDecodeCertPolicyConstraints().
|
static |
Definition at line 3952 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 3871 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 451 of file decode.c.
Referenced by CRYPT_AsnDecodeAccessDescription(), CRYPT_AsnDecodeAlgorithmId(), CRYPT_AsnDecodeAuthorityKeyId(), CRYPT_AsnDecodeAuthorityKeyId2(), CRYPT_AsnDecodeBasicConstraints(), CRYPT_AsnDecodeBasicConstraints2(), CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCertPolicy(), CRYPT_AsnDecodeCertPolicyConstraints(), CRYPT_AsnDecodeCertPolicyMapping(), CRYPT_AsnDecodeCertSignedContent(), CRYPT_AsnDecodeCMSSignedInfo(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCRLEntry(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodeCTLEntry(), CRYPT_AsnDecodeDistPoint(), CRYPT_AsnDecodeEccSignature(), CRYPT_AsnDecodeEncryptedContentInfo(), CRYPT_AsnDecodeExtension(), CRYPT_AsnDecodeIssuerSerialNumber(), CRYPT_AsnDecodeIssuingDistPoint(), CRYPT_AsnDecodeNameConstraints(), CRYPT_AsnDecodeNoticeReference(), CRYPT_AsnDecodePKCSAttributeInternal(), CRYPT_AsnDecodePKCSContentInfoInternal(), CRYPT_AsnDecodePKCSDigestedData(), CRYPT_AsnDecodePKCSEnvelopedData(), CRYPT_AsnDecodePKCSSignerInfoInternal(), CRYPT_AsnDecodePolicyQualifier(), CRYPT_AsnDecodePolicyQualifierUserNoticeInternal(), CRYPT_AsnDecodePubKeyInfoInternal(), CRYPT_AsnDecodeRdnAttr(), CRYPT_AsnDecodeRecipientInfo(), CRYPT_AsnDecodeRsaPrivKey(), CRYPT_AsnDecodeRsaPubKey(), CRYPT_AsnDecodeSMIMECapability(), CRYPT_AsnDecodeSubtree(), CRYPT_AsnDecodeUnicodeRdnAttr(), and CRYPT_AsnDecodeValidity().
|
static |
Definition at line 309 of file decode.c.
Referenced by CRYPT_AsnDecodeSequence().
|
static |
Definition at line 5049 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2339 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 2314 of file decode.c.
Referenced by CRYPT_AsnDecodeSMIMECapabilities().
|
static |
Definition at line 5407 of file decode.c.
Referenced by CRYPT_AsnDecodeExcludedSubtree(), and CRYPT_AsnDecodePermittedSubtree().
|
static |
Definition at line 3488 of file decode.c.
Referenced by CRYPT_AsnDecodeBasicConstraints().
|
static |
Definition at line 4757 of file decode.c.
Referenced by CRYPT_AsnDecodeGeneralizedTime(), and CRYPT_AsnDecodeUtcTimeInternal().
|
static |
Definition at line 1998 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 1815 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 1671 of file decode.c.
Referenced by CRYPT_AsnDecodeUnicodeNameValue(), and CRYPT_AsnDecodeUnicodeRdnAttr().
|
static |
Definition at line 1983 of file decode.c.
Referenced by CRYPT_AsnDecodeUnicodeName().
|
static |
Definition at line 1950 of file decode.c.
Referenced by CRYPT_AsnDecodeUnicodeRdn().
|
static |
Definition at line 2506 of file decode.c.
Referenced by CRYPT_AsnDecodePolicyQualifierUserNoticeInternal().
|
static |
Definition at line 4624 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4565 of file decode.c.
Referenced by CRYPT_AsnDecodeEccSignature(), CRYPT_AsnDecodeRsaPrivKey(), CRYPT_AsnDecodeRsaPubKey(), and CRYPT_AsnDecodeUnsignedInteger().
|
static |
Definition at line 4880 of file decode.c.
Referenced by CRYPT_GetBuiltinDecoder().
|
static |
Definition at line 4814 of file decode.c.
Referenced by CRYPT_AsnDecodeChoiceOfTimeInternal(), and CRYPT_AsnDecodeUtcTime().
|
static |
Definition at line 926 of file decode.c.
Referenced by CRYPT_AsnDecodeCertInfo().
Definition at line 246 of file decode.c.
Referenced by CRYPT_AsnDecodeDerBlob(), CRYPT_AsnDecodeGeneralizedTime(), CRYPT_AsnDecodeIntInternal(), and CRYPT_AsnDecodeUtcTimeInternal().
|
static |
Definition at line 207 of file decode.c.
Referenced by CRYPT_AsnDecodeAltName(), CRYPT_AsnDecodeArray(), CRYPT_AsnDecodeBits(), CRYPT_AsnDecodeChoiceOfTime(), CRYPT_AsnDecodeCMSSignerInfo(), CRYPT_AsnDecodeEnumerated(), CRYPT_AsnDecodeInt(), CRYPT_AsnDecodeInteger(), CRYPT_AsnDecodeName(), CRYPT_AsnDecodeNameValue(), CRYPT_AsnDecodeObjectIdentifier(), CRYPT_AsnDecodeOctetString(), CRYPT_AsnDecodePKCSAttribute(), CRYPT_AsnDecodePKCSContentInfo(), CRYPT_AsnDecodePKCSSignerInfo(), CRYPT_AsnDecodePolicyQualifierUserNotice(), CRYPT_AsnDecodePubKeyInfo(), CRYPT_AsnDecodeRsaPrivKey(), CRYPT_AsnDecodeRsaPubKey(), CRYPT_AsnDecodeSequence(), CRYPT_AsnDecodeSequenceOfAny(), CRYPT_AsnDecodeUnicodeName(), CRYPT_AsnDecodeUnicodeNameValue(), CRYPT_AsnDecodeUnsignedInteger(), CRYPT_AsnDecodeUtcTime(), and CryptDecodeObjectEx().
|
static |
Definition at line 5897 of file decode.c.
Referenced by CRYPT_AsnDecodePKCSEnvelopedData().
|
static |
Definition at line 5803 of file decode.c.
Referenced by CRYPT_AsnDecodeCMSSignedInfo().
|
static |
Definition at line 2047 of file decode.c.
Referenced by CRYPT_AsnDecodeCopyBytes().
|
static |
Definition at line 235 of file decode.c.
Referenced by CRYPT_AsnDecodeAltName(), CRYPT_AsnDecodeArray(), CRYPT_AsnDecodeBits(), CRYPT_AsnDecodeChoiceOfTime(), CRYPT_AsnDecodeCMSSignerInfo(), CRYPT_AsnDecodeInt(), CRYPT_AsnDecodeInteger(), CRYPT_AsnDecodeName(), CRYPT_AsnDecodeNameValue(), CRYPT_AsnDecodeObjectIdentifier(), CRYPT_AsnDecodeOctetString(), CRYPT_AsnDecodePKCSAttribute(), CRYPT_AsnDecodePKCSContentInfo(), CRYPT_AsnDecodePKCSSignerInfo(), CRYPT_AsnDecodePolicyQualifierUserNotice(), CRYPT_AsnDecodePubKeyInfo(), CRYPT_AsnDecodeSequence(), CRYPT_AsnDecodeSequenceOfAny(), CRYPT_AsnDecodeUnicodeName(), CRYPT_AsnDecodeUnicodeNameValue(), CRYPT_AsnDecodeUnsignedInteger(), CRYPT_AsnDecodeUtcTime(), and CryptDecodeObjectEx().
|
static |
Definition at line 6048 of file decode.c.
Referenced by CryptDecodeObjectEx().
Definition at line 189 of file decode.c.
Referenced by CRYPT_AsnDecodeAltNameEntry(), CRYPT_AsnDecodeBitsInternal(), CRYPT_AsnDecodeCertExtensions(), CRYPT_AsnDecodeCertVersion(), CRYPT_AsnDecodeCRLExtensions(), CRYPT_AsnDecodeCTLExtensions(), CRYPT_AsnDecodeDerBlob(), CRYPT_AsnDecodeDistPointName(), CRYPT_AsnDecodeIA5String(), CRYPT_AsnDecodeIntegerInternal(), CRYPT_AsnDecodeIntInternal(), CRYPT_AsnDecodeNameValueInternal(), CRYPT_AsnDecodeOctets(), CRYPT_AsnDecodeOctetStringInternal(), CRYPT_AsnDecodeOidIgnoreTag(), CRYPT_AsnDecodeSequenceOfAny(), CRYPT_AsnDecodeUnicodeNameValueInternal(), CRYPT_AsnDecodeUnicodeString(), and CRYPT_AsnDecodeUnsignedIntegerInternal().
|
static |
Definition at line 121 of file decode.c.
Referenced by CRYPT_AsnDecodeArray(), CRYPT_AsnDecodeOctetStringInternal(), CRYPT_AsnDecodePKCSContent(), CRYPT_AsnDecodeSequence(), CRYPT_AsnDecodeSequenceItems(), CRYPT_FindEncodedLen(), CRYPT_GetLen(), and PFXIsPFXBlob().
|
static |
Definition at line 6265 of file decode.c.
Referenced by CryptDecodeObjectEx().
|
static |
Definition at line 6252 of file decode.c.
Referenced by CryptDecodeObjectEx().
BOOL WINAPI CryptDecodeObject | ( | DWORD | dwCertEncodingType, |
LPCSTR | lpszStructType, | ||
const BYTE * | pbEncoded, | ||
DWORD | cbEncoded, | ||
DWORD | dwFlags, | ||
void * | pvStructInfo, | ||
DWORD * | pcbStructInfo | ||
) |
Definition at line 6278 of file decode.c.
Referenced by CertComparePublicKeyInfo(), CRYPT_ImportPublicKeyInfoEx(), CryptCATEnumerateMember(), decode_inner_content(), and SOFTPUB_DecodeInnerContent().
BOOL WINAPI CryptDecodeObjectEx | ( | DWORD | dwCertEncodingType, |
LPCSTR | lpszStructType, | ||
const BYTE * | pbEncoded, | ||
DWORD | cbEncoded, | ||
DWORD | dwFlags, | ||
PCRYPT_DECODE_PARA | pDecodePara, | ||
void * | pvStructInfo, | ||
DWORD * | pcbStructInfo | ||
) |
Definition at line 6286 of file decode.c.
Referenced by CDecodeMsg_DecodeContent(), CDecodeMsg_DecodeDataContent(), CDecodeMsg_FinalizeSignedContent(), CDecodeSignedMsg_GetParam(), Cert_clone(), cert_find_alt_name_entry(), cert_get_name_from_rdn_attr(), cert_name_to_str_with_indent(), CertContext_GetProperty(), CertCreateCertificateContext(), CertCreateCRLContext(), CertCreateCTLContext(), CertGetEnhancedKeyUsage(), CertGetIntendedKeyUsage(), CertGetNameStringW(), CertGetPublicKeyLength(), CertIsRDNAttrsInCertificateName(), CertIsValidCRLForCertificate(), CertNameToStrA(), CNG_ImportECCPubKey(), CNG_PrepareSignatureECC(), compare_alt_name_with_constraints(), compare_crl_issued_by(), compare_subject_with_email_constraints(), CRL_clone(), CRYPT_CheckUsages(), CRYPT_DecodeBasicConstraints(), CRYPT_FormatAltName(), CRYPT_FormatAuthorityInfoAccess(), CRYPT_FormatAuthorityKeyId2(), CRYPT_FormatBasicConstraints2(), CRYPT_FormatCPS(), CRYPT_FormatCRLDistPoints(), CRYPT_FormatEnhancedKeyUsage(), CRYPT_FormatKeyUsage(), CRYPT_FormatNetscapeCertType(), CRYPT_FormatSpcFinancialCriteria(), CRYPT_FormatUnicodeString(), CRYPT_FormatUserNotice(), CRYPT_GetIssuer(), CRYPT_GetNameConstraints(), CRYPT_GetPolicies(), CRYPT_GetUrlFromCertificateIssuer(), CRYPT_GetUrlFromCRLDistPointsExt(), CRYPT_IsCertificateSelfSigned(), CRYPT_KeyUsageValid(), CryptDecodeObject(), CryptHashToBeSigned(), CryptVerifyCertificateSignatureEx(), directory_name_matches(), display_app_usages(), dump_alt_name(), dump_basic_constraints(), dump_basic_constraints2(), dump_cert_policies(), dump_enhanced_key_usage(), dump_key_usage(), dump_name_constraints(), dump_netscape_cert_type(), find_cert_by_issuer(), FormatVerisignExtension(), get_cert_common_name(), get_cps_str_from_qualifier(), get_user_notice_from_qualifier(), is_ca_cert(), match_dns_to_subject_alt_name(), match_dns_to_subject_dn(), set_issuer_statement(), TrustIsCertificateSelfSigned(), verify_cert_revocation(), verify_cert_revocation_from_aia_ext(), WINTRUST_GetTimeFromCounterSigner(), and WINTRUST_GetTimeFromSigner().
HCERTSTORE WINAPI PFXImportCertStore | ( | CRYPT_DATA_BLOB * | pPFX, |
LPCWSTR | szPassword, | ||
DWORD | dwFlags | ||
) |
BOOL WINAPI PFXIsPFXBlob | ( | CRYPT_DATA_BLOB * | pPFX | ) |
Definition at line 6365 of file decode.c.
BOOL WINAPI PFXVerifyPassword | ( | CRYPT_DATA_BLOB * | pPFX, |
LPCWSTR | szPassword, | ||
DWORD | dwFlags | ||
) |
WINE_DECLARE_DEBUG_CHANNEL | ( | crypt | ) |
WINE_DEFAULT_DEBUG_CHANNEL | ( | cryptasn | ) |