CryptographyMessages
CryptographyMessages.Instance (SystemMessages.Cryptography) contains message descriptions scraped from mscorlib.dll for System.Security.Cryptography.*.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA345003C | 0x80131430 | ArgCryptographyException | mscorlib.Arg_CryptographyException | Error occurred during a cryptographic operation. | System.Security.Cryptography.CryptographicException |
0xA34502FD | 0x80070057 | AddNullOrEmptyName | mscorlib.Cryptography_AddNullOrEmptyName | CryptoConfig cannot add a mapping for a null or empty name. | System.ArgumentException |
0xA34502FE | 0x80070057 | AlgorithmTypesMustBeVisible | mscorlib.Cryptography_AlgorithmTypesMustBeVisible | Algorithms added to CryptoConfig must be accessable from outside their assembly. | System.ArgumentException |
0xA34502FF | 0x80131431 | ConfigEncodedOIDError | mscorlib.Cryptography_Config_EncodedOIDError | Encoded OID length is too large (greater than 0x7f bytes). | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA3450300 | 0x80131515 | CryptoStreamFlushFinalBlockTwice | mscorlib.Cryptography_CryptoStream_FlushFinalBlockTwice | FlushFinalBlock() method was called twice on a CryptoStream. It can only be called once. | System.NotSupportedException |
0xA3450301 | 0x80131430 | CSPAlgKeySizeNotAvailable | mscorlib.Cryptography_CSP_AlgKeySizeNotAvailable | Algorithm implementation does not support a key size of {0}. | System.Security.Cryptography.CryptographicException |
0xA3450302 | 0x80131430 | CSPAlgorithmNotAvailable | mscorlib.Cryptography_CSP_AlgorithmNotAvailable | Cryptographic service provider (CSP) could not be found for this algorithm. | System.Security.Cryptography.CryptographicException |
0xA3450303 | 0x80131430 | CSPCFBSizeNotSupported | mscorlib.Cryptography_CSP_CFBSizeNotSupported | Feedback size for the cipher feedback mode (CFB) must be 8 bits. | System.Security.Cryptography.CryptographicException |
0xA3450304 | 0x80131430 | CSPNoPrivateKey | mscorlib.Cryptography_CSP_NoPrivateKey | Object contains only the public half of a key pair. A private key must also be provided. | System.Security.Cryptography.CryptographicException |
0xA3450305 | 0x80131430 | CSPNotFound | mscorlib.Cryptography_CSP_NotFound | The requested key container was not found. | System.Security.Cryptography.CryptographicException |
0xA3450306 | 0x80131430 | CSPOFBNotSupported | mscorlib.Cryptography_CSP_OFBNotSupported | Output feedback mode (OFB) is not supported by this implementation. | System.Security.Cryptography.CryptographicException |
0xA3450307 | 0x80131430 | CSPWrongKeySpec | mscorlib.Cryptography_CSP_WrongKeySpec | The specified cryptographic service provider (CSP) does not support this key algorithm. | System.Security.Cryptography.CryptographicException |
0xA3450308 | 0x80070057 | HashAlgorithmNameNullOrEmpty | mscorlib.Cryptography_HashAlgorithmNameNullOrEmpty | The hash algorithm name cannot be null or empty. | System.ArgumentException |
0xA3450309 | 0x80131430 | HashKeySet | mscorlib.Cryptography_HashKeySet | Hash key cannot be changed after the first write to the stream. | System.Security.Cryptography.CryptographicException |
0xA345030A | 0x80131430 | HashNameSet | mscorlib.Cryptography_HashNameSet | Hash name cannot be changed after the first write to the stream. | System.Security.Cryptography.CryptographicException |
0xA345030B | 0x80131431 | HashNotYetFinalized | mscorlib.Cryptography_HashNotYetFinalized | Hash must be finalized before the hash value is retrieved. | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA345030C | 0x80131430 | InsufficientBuffer | mscorlib.Cryptography_InsufficientBuffer | Input buffer contains insufficient data. | System.Security.Cryptography.CryptographicException |
0xA345030D | 0x80131430 | InvalidBlockSize | mscorlib.Cryptography_InvalidBlockSize | Specified block size is not valid for this algorithm. | System.Security.Cryptography.CryptographicException |
0xA345030E | 0x80131430 | InvalidCipherMode | mscorlib.Cryptography_InvalidCipherMode | Specified cipher mode is not valid for this algorithm. | System.Security.Cryptography.CryptographicException |
0xA345030F | 0x80131430 | InvalidFeedbackSize | mscorlib.Cryptography_InvalidFeedbackSize | Specified feedback size is invalid. | System.Security.Cryptography.CryptographicException |
0xA3450310 | 0x80131430 | InvalidFromXmlString | mscorlib.Cryptography_InvalidFromXmlString | Input string does not contain a valid encoding of the '{0}' '{1}' parameter. | System.Security.Cryptography.CryptographicException |
0xA3450311 | 0x80131430 | InvalidHandle | mscorlib.Cryptography_InvalidHandle | {0} is an invalid handle. | System.Security.Cryptography.CryptographicException |
0xA3450312 | 0x80131430 | InvalidHashSize | mscorlib.Cryptography_InvalidHashSize | {0} algorithm hash size is {1} bytes. | System.Security.Cryptography.CryptographicException |
0xA3450313 | 0x80131430 | InvalidIVSize | mscorlib.Cryptography_InvalidIVSize | Specified initialization vector (IV) does not match the block size for this algorithm. | System.Security.Cryptography.CryptographicException |
0xA3450314 | 0x80131430 | InvalidKeySemiWeak | mscorlib.Cryptography_InvalidKey_SemiWeak | Specified key is a known semi-weak key for '{0}' and cannot be used. | System.Security.Cryptography.CryptographicException |
0xA3450315 | 0x80131430 | InvalidKeyWeak | mscorlib.Cryptography_InvalidKey_Weak | Specified key is a known weak key for '{0}' and cannot be used. | System.Security.Cryptography.CryptographicException |
0xA3450316 | 0x80131430 | InvalidKeyParameter | mscorlib.Cryptography_InvalidKeyParameter | Parameter '{0}' is not a valid key parameter. | System.Security.Cryptography.CryptographicException |
0xA3450317 | 0x80131430 | InvalidKeySize | mscorlib.Cryptography_InvalidKeySize | Specified key is not a valid size for this algorithm. | System.Security.Cryptography.CryptographicException |
0xA3450318 | 0x80131431 | InvalidOID | mscorlib.Cryptography_InvalidOID | Object identifier (OID) is unknown. | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA3450319 | 0x80131431 | InvalidOperation | mscorlib.Cryptography_InvalidOperation | This operation is not supported for this class. | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA345031A | 0x80131430 | InvalidPaddingMode | mscorlib.Cryptography_InvalidPaddingMode | Specified padding mode is not valid for this algorithm. | System.Security.Cryptography.CryptographicException |
0xA345031B | 0x80131430 | LegacyNetCFCSPCouldNotAcquire | mscorlib.Cryptography_LegacyNetCF_CSP_CouldNotAcquire | CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired. | System.Security.Cryptography.CryptographicException |
0xA345031C | 0x80131430 | LegacyNetCFUnknownError | mscorlib.Cryptography_LegacyNetCF_UnknownError | Unknown Error '{0}'. | System.Security.Cryptography.CryptographicException |
0xA345031D | 0x80131431 | MissingKey | mscorlib.Cryptography_MissingKey | No asymmetric key object has been associated with this formatter object. | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA345031E | 0x80131431 | MissingOID | mscorlib.Cryptography_MissingOID | Required object identifier (OID) cannot be found. | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA345031F | 0x80131509 | NonCompliantFIPSAlgorithm | mscorlib.Cryptography_NonCompliantFIPSAlgorithm | This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. | System.InvalidOperationException |
0xA3450320 | 0x80131509 | NotInteractive | mscorlib.Cryptography_NotInteractive | The current session is not interactive. | System.InvalidOperationException |
0xA3450321 | 0x80131430 | OAEPDecoding | mscorlib.Cryptography_OAEPDecoding | Error occurred while decoding OAEP padding. | System.Security.Cryptography.CryptographicException |
0xA3450322 | 0x80131430 | PaddingDecDataTooBig | mscorlib.Cryptography_Padding_DecDataTooBig | The data to be decrypted exceeds the maximum for this modulus of {0} bytes. | System.Security.Cryptography.CryptographicException |
0xA3450323 | 0x80131430 | PaddingEncDataTooBig | mscorlib.Cryptography_Padding_EncDataTooBig | The data to be encrypted exceeds the maximum for this modulus of {0} bytes. | System.Security.Cryptography.CryptographicException |
0xA3450324 | 0x80070057 | PasswordDerivedBytesFewBytesSalt | mscorlib.Cryptography_PasswordDerivedBytes_FewBytesSalt | Salt is not at least eight bytes. | System.ArgumentException |
0xA3450325 | 0x80131430 | PasswordDerivedBytesInvalidAlgorithm | mscorlib.Cryptography_PasswordDerivedBytes_InvalidAlgorithm | Algorithm is unavailable or is not supported for this operation. | System.Security.Cryptography.CryptographicException |
0xA3450326 | 0x80131430 | PasswordDerivedBytesInvalidIV | mscorlib.Cryptography_PasswordDerivedBytes_InvalidIV | The Initialization vector should have the same length as the algorithm block size in bytes. | System.Security.Cryptography.CryptographicException |
0xA3450327 | 0x80131430 | PasswordDerivedBytesTooManyBytes | mscorlib.Cryptography_PasswordDerivedBytes_TooManyBytes | Requested number of bytes exceeds the maximum. | System.Security.Cryptography.CryptographicException |
0xA3450328 | 0x80131430 | PasswordDerivedBytesValuesFixed | mscorlib.Cryptography_PasswordDerivedBytes_ValuesFixed | Value of '{0}' cannot be changed after the bytes have been retrieved. | System.Security.Cryptography.CryptographicException |
0xA3450329 | 0x80131431 | PKCS1Decoding | mscorlib.Cryptography_PKCS1Decoding | Error occurred while decoding PKCS1 padding. | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA345032A | 0x80131430 | PKCS7InvalidPadding | mscorlib.Cryptography_PKCS7_InvalidPadding | Padding is invalid and cannot be removed. | System.Security.Cryptography.CryptographicException |
0xA345032B | 0x80131430 | RC2EKS40 | mscorlib.Cryptography_RC2_EKS40 | EffectiveKeySize value must be at least 40 bits. | System.Security.Cryptography.CryptographicException |
0xA345032C | 0x80131430 | RC2EKSKS | mscorlib.Cryptography_RC2_EKSKS | EffectiveKeySize value must be at least as large as the KeySize value. | System.Security.Cryptography.CryptographicException |
0xA345032D | 0x80131431 | RC2EKSKS2 | mscorlib.Cryptography_RC2_EKSKS2 | EffectiveKeySize must be the same as KeySize in this implementation. | System.Security.Cryptography.CryptographicUnexpectedOperationException |
0xA345032E | 0x80131430 | SSDInvalidDataSize | mscorlib.Cryptography_SSD_InvalidDataSize | Length of the data to decrypt is invalid. | System.Security.Cryptography.CryptographicException |
0xA345032F | 0x80131430 | SSEInvalidDataSize | mscorlib.Cryptography_SSE_InvalidDataSize | Length of the data to encrypt is invalid. | System.Security.Cryptography.CryptographicException |
0xA3450330 | 0x80131430 | UnknownHashAlgorithm | mscorlib.Cryptography_UnknownHashAlgorithm | '{0}' is not a known hash algorithm. | System.Security.Cryptography.CryptographicException |
0xA3450331 | 0x80131430 | X509ExportFailed | mscorlib.Cryptography_X509_ExportFailed | The certificate export operation failed. | System.Security.Cryptography.CryptographicException |
0xA3450332 | 0x80131430 | X509InvalidContentType | mscorlib.Cryptography_X509_InvalidContentType | Invalid content type. | System.Security.Cryptography.CryptographicException |
0xA3450333 | 0x80070057 | X509InvalidFlagCombination | mscorlib.Cryptography_X509_InvalidFlagCombination | The flags '{0}' may not be specified together. | System.ArgumentException |
0xA3450624 | 0x80131430 | CSSMError | mscorlib.Cryptography_CSSM_Error | Error 0x{0} from the operating system security framework: '{1}'. | System.Security.Cryptography.CryptographicException |
0xA3450625 | 0x80131430 | CSSMErrorUnknown | mscorlib.Cryptography_CSSM_Error_Unknown | Error 0x{0} from the operating system security framework. | System.Security.Cryptography.CryptographicException |
0xA3450626 | 0x80131430 | InvalidDSASignatureSize | mscorlib.Cryptography_InvalidDSASignatureSize | Length of the DSA signature was not 40 bytes. | System.Security.Cryptography.CryptographicException |
0xA3450627 | 0x80131430 | PaddingWin2KEnhOnly | mscorlib.Cryptography_Padding_Win2KEnhOnly | Direct Encryption and decryption using RSA are not available on this platform. | System.Security.Cryptography.CryptographicException |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/