34 references to CloneByteArray
System.Security.Cryptography (34)
System\Security\Cryptography\AesCng.Windows.cs (2)
292return KeyValue.CloneByteArray()!; 306KeyValue = value.CloneByteArray();
System\Security\Cryptography\AesImplementation.cs (2)
69return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: false); 81return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: true);
System\Security\Cryptography\AsnEncodedData.cs (2)
114_rawData = value.CloneByteArray(); 139_rawData = rawData.CloneByteArray();
System\Security\Cryptography\CapiHelper.Shared.cs (1)
148byte[] reversedBytes = bytes.CloneByteArray();
System\Security\Cryptography\CapiHelper.Windows.cs (2)
1198signature = signature.CloneByteArray(); 1203signature = signature.CloneByteArray();
System\Security\Cryptography\CngProperty.cs (2)
27_value = value.CloneByteArray(); 57public byte[]? GetValue() => _value.CloneByteArray();
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (1)
209byte[]? iv = mode.GetCipherIv(rgbIV).CloneByteArray();
System\Security\Cryptography\DESCryptoServiceProvider.Windows.cs (2)
47return CreateTransform(rgbKey, rgbIV?.CloneByteArray(), encrypting: false); 59return CreateTransform(rgbKey, rgbIV?.CloneByteArray(), encrypting: true);
System\Security\Cryptography\DesImplementation.cs (2)
28return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: false); 38return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: true);
System\Security\Cryptography\HashProviderCng.cs (1)
57_key = key.CloneByteArray();
System\Security\Cryptography\HMACCommon.cs (1)
50ActualKey = Helpers.CloneByteArray(actualKey);
System\Security\Cryptography\KeyedHashAlgorithm.cs (2)
26return KeyValue.CloneByteArray(); 31KeyValue = value.CloneByteArray();
System\Security\Cryptography\RC2CryptoServiceProvider.Windows.cs (2)
60return CreateTransform(rgbKey, rgbIV?.CloneByteArray(), encrypting: true); 66return CreateTransform(rgbKey, rgbIV?.CloneByteArray(), encrypting: false);
System\Security\Cryptography\RC2Implementation.cs (2)
34return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: false); 44return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: true);
System\Security\Cryptography\SymmetricAlgorithm.cs (4)
69return IVValue.CloneByteArray()!; 78IVValue = value.CloneByteArray(); 88return KeyValue.CloneByteArray()!; 101KeyValue = value.CloneByteArray();
System\Security\Cryptography\TripleDesImplementation.cs (2)
27return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: false); 37return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: true);
System\Security\Cryptography\X509Certificates\X509Certificate.cs (4)
432return GetRawCertHash().CloneByteArray(); 535return _lazyKeyAlgorithmParameters.CloneByteArray(); 551return publicKey.CloneByteArray(); 557byte[] serialNumber = GetRawSerialNumber().CloneByteArray();