private Rc4KeyData CheckRc4() { Rc4KeyData rc4 = GetRc4KeyData(); if (rc4 == null) { throw new RecordFormatException("file pass record doesn't contain a rc4 key."); } return(rc4); }
/// <summary> /// /// </summary> /// <returns>Rc4KeyData</returns> public object Clone() { Rc4KeyData other = new Rc4KeyData(); other._salt = (byte[])this._salt.Clone(); other._encryptedVerifier = (byte[])this._encryptedVerifier.Clone(); other._encryptedVerifierHash = (byte[])this._encryptedVerifierHash.Clone(); other._encryptionInfo = this._encryptionInfo; other._minorVersionNo = this._minorVersionNo; return(other); }