Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ReturnToSignatureBindingElement"/> class.
        /// </summary>
        /// <param name="secretStore">The secret store from which to retrieve the secret used for signing.</param>
        /// <param name="securitySettings">The security settings.</param>
        internal ReturnToSignatureBindingElement(IAssociationStore <Uri> secretStore, RelyingPartySecuritySettings securitySettings)
        {
            Contract.Requires <ArgumentNullException>(secretStore != null);

            this.secretManager = new PrivateSecretManager(securitySettings, secretStore);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ReturnToSignatureBindingElement"/> class.
        /// </summary>
        /// <param name="secretStore">The secret store from which to retrieve the secret used for signing.</param>
        /// <param name="securitySettings">The security settings.</param>
        internal ReturnToSignatureBindingElement(IAssociationStore <Uri> secretStore, RelyingPartySecuritySettings securitySettings)
        {
            ErrorUtilities.VerifyArgumentNotNull(secretStore, "secretStore");

            this.secretManager = new PrivateSecretManager(securitySettings, secretStore);
        }