178 lines · 4.6 KB · C#
RawDownload
//******************************************************************************************************//  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; namespace GSF.TimeSeries.UI{    /// <summary>    /// Represents a subscriber authentication request.    /// </summary>    [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 ]         /// <summary>        /// Gets or sets the suggested subscriber acronym.        /// </summary>        public string Acronym        {            get            {                return m_acronym;            }            set            {                m_acronym = value;            }        }         /// <summary>        /// Gets or sets the suggested subscriber name.        /// </summary>        public string Name        {            get            {                return m_name;            }            set            {                m_name = value;            }        }         /// <summary>        /// Gets or sets the list of valid IP addresses for the subscriber.        /// </summary>        public string ValidIPAddresses        {            get            {                return m_validIPAddresses;            }            set            {                m_validIPAddresses = value;            }        }         /// <summary>        /// Gets or sets the shared secret for the subscriber.        /// </summary>        public string SharedSecret        {            get            {                return m_sharedSecret;            }            set            {                m_sharedSecret = value;            }        }         /// <summary>        /// Gets or sets the authentication ID for the subscriber.        /// </summary>        public string AuthenticationID        {            get            {                return m_authenticationID;            }            set            {                m_authenticationID = value;            }        }         /// <summary>        /// Gets or sets the cryptographic key for the subscriber.        /// </summary>        public string Key        {            get            {                return m_key;            }            set            {                m_key = value;            }        }         /// <summary>        /// Gets or sets the cryptographic initialization vector for the subscriber.        /// </summary>        public string IV        {            get            {                return m_iv;            }            set            {                m_iv = value;            }        }         /// <summary>        /// Gets or sets the file data loaded from the certificate for this subscriber.        /// </summary>        public byte[] CertificateFile        {            get            {                return m_certificateFile;            }            set            {                m_certificateFile = value;            }        }         #endregion    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t