internal static void ThrowIfContextInvalid(X509ChainImpl impl)
 {
     if (!IsValid(impl))
     {
         throw GetInvalidChainContextException();
     }
 }
示例#2
0
 protected virtual void Dispose(bool disposing)
 {
     if (impl != null)
     {
         impl.Dispose();
         impl = null;
     }
 }
 public static bool IsValid(X509ChainImpl impl)
 {
     return(impl != null && impl.IsValid);
 }
示例#4
0
		internal static void ThrowIfContextInvalid (X509ChainImpl impl)
		{
			if (!IsValid (impl))
				throw GetInvalidChainContextException ();
		}
示例#5
0
		public static bool IsValid (X509ChainImpl impl)
		{
			return impl != null && impl.IsValid;
		}
示例#6
0
 internal X509Chain(X509ChainImpl impl)
 {
     X509Helper2.ThrowIfContextInvalid(impl);
     this.impl = impl;
 }
示例#7
0
 public X509Chain(bool useMachineContext)
 {
     impl = X509Helper2.CreateChainImpl(useMachineContext);
 }
示例#8
0
		internal X509Chain (X509ChainImpl impl)
		{
			X509Helper2.ThrowIfContextInvalid (impl);
			this.impl = impl;
		}
示例#9
0
		public X509Chain (bool useMachineContext) 
		{
			impl = X509Helper2.CreateChainImpl (useMachineContext);
		}
示例#10
0
		protected virtual void Dispose (bool disposing)
		{
			if (impl != null) {
				impl.Dispose ();
				impl = null;
			}
		}