implements ICloneable
0x00x0048
Members 28
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x08 | pbeWithSHAAnd128BitRC4 | string | PublicStatic+1 flags | — |
| — | 0x08 | pbeWithSHAAnd40BitRC4 | string | PublicStatic+1 flags | — |
| — | 0x08 | pbeWithSHAAnd3KeyTripleDESCBC | string | PublicStatic+1 flags | — |
| — | 0x08 | pbeWithSHAAnd2KeyTripleDESCBC | string | PublicStatic+1 flags | — |
| — | 0x08 | pbeWithSHAAnd128BitRC2CBC | string | PublicStatic+1 flags | — |
| — | 0x08 | pbeWithSHAAnd40BitRC2CBC | string | PublicStatic+1 flags | — |
| — | 0x08 | keyBag | string | PublicStatic+1 flags | — |
| — | 0x08 | pkcs8ShroudedKeyBag | string | PublicStatic+1 flags | — |
| — | 0x08 | certBag | string | PublicStatic+1 flags | — |
| — | 0x08 | crlBag | string | PublicStatic+1 flags | — |
| — | 0x08 | secretBag | string | PublicStatic+1 flags | — |
| — | 0x08 | safeContentsBag | string | PublicStatic+1 flags | — |
| — | 0x08 | x509Certificate | string | PublicStatic+1 flags | — |
| — | 0x08 | sdsiCertificate | string | PublicStatic+1 flags | — |
| — | 0x08 | x509Crl | string | PublicStatic+1 flags | — |
| — | 0x04 | recommendedIterationCount | int | PrivateStatic+1 flags | 1464891792 |
| 0x08 | _password | byte[] | Private | — | |
| 0x08 | _keyBags | ArrayList | Private | — | |
| 0x08 | _secretBags | ArrayList | Private | — | |
| 0x08 | _certs | X509CertificateCollection | Private | — | |
| 0x01 | _keyBagsChanged | bool | Private | — | |
| 0x01 | _secretBagsChanged | bool | Private | — | |
| 0x01 | _certsChanged | bool | Private | — | |
| 0x0033 | 0x01 | padding / unreflected | |||
| 0x04 | _iterations | int | Private | — | |
| 0x08 | _safeBags | ArrayList | Private | — | |
| 0x08 | _rng | RandomNumberGenerator | Private | — | |
| — | 0x04 | CryptoApiPasswordLimit | int | PublicStatic+1 flags | 1464891792 |
| 0x04 | password_max_length | int | PrivateStatic | — | |
Functions 55
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor() | Public+1 flags | 0x00 | |
| void .ctor(const byte[]& data) | Public+1 flags | 0x08 | |
| void .ctor(const byte[]& data, const string& password) | Public+1 flags | 0x08 | |
| void .ctor(const byte[]& data, const byte[]& password) | Public+1 flags | 0x08 | |
| void Decode(const byte[]& data) | Private | 0x08 | |
| void Finalize() | 2 flags | 0x00 | |
| void set_Password(const string& value) | Public+1 flags | 0x08 | |
| int get_IterationCount() | Public+1 flags | 0x04 | |
| void set_IterationCount(int value) | Public+1 flags | 0x04 | |
| ArrayList get_Keys() | Public+1 flags | 0x08 | |
| ArrayList get_Secrets() | Public+1 flags | 0x08 | |
| X509CertificateCollection get_Certificates() | Public+1 flags | 0x08 | |
| RandomNumberGenerator get_RNG() | 2 flags | 0x08 | |
| bool Compare(const byte[]& expected, const byte[]& actual) | Private | 0x08 | |
| SymmetricAlgorithm GetSymmetricAlgorithm(const string& algorithmOid, const byte[]& salt, int iterationCount) | Private | 0x08 | |
| byte[] Decrypt(const string& algorithmOid, const byte[]& salt, int iterationCount, const byte[]& encryptedData) | Public | 0x08 | |
| byte[] Decrypt(EncryptedData ed) | Public | 0x08 | |
| byte[] Encrypt(const string& algorithmOid, const byte[]& salt, int iterationCount, const byte[]& data) | Public | 0x08 | |
| DSAParameters GetExistingParameters(ref bool& found) | Private | 0x40 | |
| void AddPrivateKey(PrivateKeyInfo pki) | Private | 0x08 | |
| void ReadSafeBag(ASN1 safeBag) | Private | 0x08 | |
| ASN1 Pkcs8ShroudedKeyBagSafeBag(AsymmetricAlgorithm aa, IDictionary attributes) | Private | 0x08 | |
| ASN1 KeyBagSafeBag(AsymmetricAlgorithm aa, IDictionary attributes) | Private | 0x08 | |
| ASN1 SecretBagSafeBag(const byte[]& secret, IDictionary attributes) | Private | 0x08 | |
| ASN1 CertificateSafeBag(X509Certificate x509, IDictionary attributes) | Private | 0x08 | |
| byte[] MAC(const byte[]& password, const byte[]& salt, int iterations, const byte[]& data) | Private | 0x08 | |
| byte[] GetBytes() | Public | 0x08 | |
| ContentInfo EncryptedContentInfo(ASN1 safeBags, const string& algorithmOid) | Private | 0x08 | |
| void AddCertificate(X509Certificate cert) | Public | 0x08 | |
| void AddCertificate(X509Certificate cert, IDictionary attributes) | Public | 0x08 | |
| void RemoveCertificate(X509Certificate cert) | Public | 0x08 | |
| void RemoveCertificate(X509Certificate cert, IDictionary attrs) | Public | 0x08 | |
| bool CompareAsymmetricAlgorithm(AsymmetricAlgorithm a1, AsymmetricAlgorithm a2) | Private | 0x08 | |
| void AddPkcs8ShroudedKeyBag(AsymmetricAlgorithm aa) | Public | 0x08 | |
| void AddPkcs8ShroudedKeyBag(AsymmetricAlgorithm aa, IDictionary attributes) | Public | 0x08 | |
| void RemovePkcs8ShroudedKeyBag(AsymmetricAlgorithm aa) | Public | 0x08 | |
| void AddKeyBag(AsymmetricAlgorithm aa) | Public | 0x08 | |
| void AddKeyBag(AsymmetricAlgorithm aa, IDictionary attributes) | Public | 0x08 | |
| void RemoveKeyBag(AsymmetricAlgorithm aa) | Public | 0x08 | |
| void AddSecretBag(const byte[]& secret) | Public | 0x08 | |
| void AddSecretBag(const byte[]& secret, IDictionary attributes) | Public | 0x08 | |
| void RemoveSecretBag(const byte[]& secret) | Public | 0x08 | |
| AsymmetricAlgorithm GetAsymmetricAlgorithm(IDictionary attrs) | Public | 0x08 | |
| byte[] GetSecret(IDictionary attrs) | Public | 0x08 | |
| X509Certificate GetCertificate(IDictionary attrs) | Public | 0x08 | |
| IDictionary GetAttributes(AsymmetricAlgorithm aa) | Public | 0x08 | |
| IDictionary GetAttributes(X509Certificate cert) | Public | 0x08 | |
| void SaveToFile(const string& filename) | Public | 0x08 | |
| object Clone() | PublicFinal+2 flags | 0x08 | |
| int get_MaximumPasswordLength() | PublicStatic+1 flags | 0x04 | |
| void set_MaximumPasswordLength(int value) | PublicStatic+1 flags | 0x04 | |
| byte[] LoadFile(const string& filename) | PrivateStatic | 0x08 | |
| PKCS12 LoadFromFile(const string& filename) | PublicStatic | 0x08 | |
| PKCS12 LoadFromFile(const string& filename, const string& password) | PublicStatic | 0x08 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |