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