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