private void Reset(uint originatorChoice, uint version, System.Security.Cryptography.CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_INFO encryptedKeyInfo, uint subIndex)
 {
     this.m_encryptedKeyInfo = encryptedKeyInfo;
     this.m_originatorChoice = originatorChoice;
     this.m_version = (int) version;
     this.m_originatorIdentifier = null;
     this.m_userKeyMaterial = new byte[0];
     this.m_encryptionAlgorithm = null;
     this.m_recipientIdentifier = null;
     this.m_encryptedKey = new byte[0];
     this.m_date = DateTime.MinValue;
     this.m_otherKeyAttribute = null;
     this.m_subIndex = subIndex;
 }
Ejemplo n.º 2
0
        //
        // Private methods.
        //

        private void Reset(uint originatorChoice, uint version, CAPI.CMSG_RECIPIENT_ENCRYPTED_KEY_INFO encryptedKeyInfo, uint subIndex)
        {
            m_encryptedKeyInfo     = encryptedKeyInfo;
            m_originatorChoice     = originatorChoice;
            m_version              = (int)version;
            m_originatorIdentifier = null;
            m_userKeyMaterial      = new byte[0];
            m_encryptionAlgorithm  = null;
            m_recipientIdentifier  = null;
            m_encryptedKey         = new byte[0];
            m_date = DateTime.MinValue;
            m_otherKeyAttribute = null;
            m_subIndex          = subIndex;
        }