コード例 #1
0
        /// <summary>
        /// Construct an authorization that authorizes signing with DSS if the eID subject does NOT match exactly.
        /// </summary>
        /// <param name="subjectName">The subject to NOT match exactly</param>
        /// <returns>The configured authorization object</returns>
        public static Authorization DenyDssSignIfMatchSubject(string subjectName)
        {
            Authorization authorization = new Authorization();

            authorization.AddNonAuthorizedSubjectName(subjectName);
            return(authorization);
        }