//****************************************************************************************************** // AuthenticationRequest.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // the NOTICE file distributed with this work for additional information regarding copyright ownership. // The GPA licenses this file to you under the MIT License (MIT), the "License"; you may // not use this file except in compliance with the License. You may obtain a copy of the License at: // // http://www.opensource.org/licenses/MIT // // Unless agreed to in writing, the subject software distributed under the License is distributed on an // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the // License for the specific language governing permissions and limitations. // // Code Modification History: // ---------------------------------------------------------------------------------------------------- // 05/18/2011 - Magdiel Lorenzo // Generated original version of source code. // 12/20/2012 - Starlynn Danyelle Gilliam // Modified Header. // //****************************************************************************************************** using System; using System.Xml.Serialization; namespace GSF.TimeSeries.UI { /// /// Represents a subscriber authentication request. /// [Serializable] public class AuthenticationRequest { #region [ Members ] // Subscriber info private string m_acronym; private string m_name; private string m_validIPAddresses; // Gateway security info private string m_sharedSecret; private string m_authenticationID; private string m_key; private string m_iv; // TLS security info private byte[] m_certificateFile; #endregion #region [ Properties ] /// /// Gets or sets the suggested subscriber acronym. /// public string Acronym { get { return m_acronym; } set { m_acronym = value; } } /// /// Gets or sets the suggested subscriber name. /// public string Name { get { return m_name; } set { m_name = value; } } /// /// Gets or sets the list of valid IP addresses for the subscriber. /// public string ValidIPAddresses { get { return m_validIPAddresses; } set { m_validIPAddresses = value; } } /// /// Gets or sets the shared secret for the subscriber. /// public string SharedSecret { get { return m_sharedSecret; } set { m_sharedSecret = value; } } /// /// Gets or sets the authentication ID for the subscriber. /// public string AuthenticationID { get { return m_authenticationID; } set { m_authenticationID = value; } } /// /// Gets or sets the cryptographic key for the subscriber. /// public string Key { get { return m_key; } set { m_key = value; } } /// /// Gets or sets the cryptographic initialization vector for the subscriber. /// public string IV { get { return m_iv; } set { m_iv = value; } } /// /// Gets or sets the file data loaded from the certificate for this subscriber. /// public byte[] CertificateFile { get { return m_certificateFile; } set { m_certificateFile = value; } } #endregion } }