Beispiel #1
0
        /// <summary>
        /// Constructs an identity with the specified name and scope.
        /// </summary>
        /// <param name="name"> the identity name. </param>
        /// <param name="scope"> the scope of the identity.
        /// </param>
        /// <exception cref="KeyManagementException"> if there is already an identity
        /// with the same name in the scope. </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public Identity(String name, IdentityScope scope) throws KeyManagementException
        public Identity(String name, IdentityScope scope) : this(name)
        {
            if (scope != null)
            {
                scope.AddIdentity(this);
            }
            this.Scope_Renamed = scope;
        }
Beispiel #2
0
        /// <summary>
        /// Constructs a new identity scope with the specified name and scope.
        /// </summary>
        /// <param name="name"> the scope name. </param>
        /// <param name="scope"> the scope for the new identity scope.
        /// </param>
        /// <exception cref="KeyManagementException"> if there is already an identity
        /// with the same name in the scope. </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public IdentityScope(String name, IdentityScope scope) throws KeyManagementException
        public IdentityScope(String name, IdentityScope scope) : base(name, scope)
        {
        }
Beispiel #3
0
        /// <summary>
        /// Creates a signer with the specified identity name and scope.
        /// </summary>
        /// <param name="name"> the identity name.
        /// </param>
        /// <param name="scope"> the scope of the identity.
        /// </param>
        /// <exception cref="KeyManagementException"> if there is already an identity
        /// with the same name in the scope. </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public Signer(String name, IdentityScope scope) throws KeyManagementException
        public Signer(String name, IdentityScope scope) : base(name, scope)
        {
        }