3 writes to EncryptedKey
System.Security.Cryptography.Pkcs (3)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Kem.cs (1)
93
kemri.
EncryptedKey
= hkdfInfoWriter.Encode(encodeState, static (state, info) =>
System\Security\Cryptography\Pkcs\Asn1\KemRecipientInfoAsn.xml.cs (2)
145
decoded.
EncryptedKey
= rebindSpan.Overlaps(tmpSpan, out offset) ? rebind.Slice(offset, tmpSpan.Length) : tmpSpan.ToArray();
149
decoded.
EncryptedKey
= sequenceReader.ReadOctetString();
5 references to EncryptedKey
System.Security.Cryptography.Pkcs (5)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Kem.cs (4)
136
public override byte[] EncryptedKey => field ??= _asn.
EncryptedKey
.ToArray();
277
if (_asn.
EncryptedKey
.Length % 8 != 0 || _asn.
EncryptedKey
.Length < MinimumKeySizeInBytes)
308
return aes.DecryptKeyWrap(state.Item1._asn.
EncryptedKey
.Span);
System\Security\Cryptography\Pkcs\Asn1\KemRecipientInfoAsn.xml.cs (1)
48
writer.WriteOctetString(
EncryptedKey
.Span);