Defines configuration settings for application cryptographic operations.
Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CryptographyManager"/> class.
        /// </summary>
        /// <param name="cryptographyConfiguration">The cryptography configuration.</param>
        /// <remarks></remarks>
        public CryptographyManager(CryptographyConfiguration cryptographyConfiguration)
        {
            if (cryptographyConfiguration == null)
            {
                throw new ArgumentNullException("cryptographyConfiguration");
            }

            _CryptographyConfiguration = cryptographyConfiguration;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CryptographyManager"/> class.
        /// </summary>
        /// <param name="cryptographyConfiguration">The cryptography configuration.</param>
        /// <remarks></remarks>
        public CryptographyManager(CryptographyConfiguration cryptographyConfiguration)
        {
            if (cryptographyConfiguration == null)
            {
                throw new ArgumentNullException("cryptographyConfiguration");
            }

            _CryptographyConfiguration = cryptographyConfiguration;
        }