You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@ -32,6 +32,7 @@ using System.Security.Cryptography.X509Certificates;
|
||||
using System.Threading;
|
||||
|
||||
using Mono.Security.Protocol.Tls.Handshake;
|
||||
using Mono.Security.Interface;
|
||||
|
||||
namespace Mono.Security.Protocol.Tls
|
||||
{
|
||||
@ -46,36 +47,6 @@ namespace Mono.Security.Protocol.Tls
|
||||
X509Certificate certificate,
|
||||
int[] certificateErrors);
|
||||
|
||||
#if INSIDE_SYSTEM
|
||||
internal
|
||||
#else
|
||||
public
|
||||
#endif
|
||||
class ValidationResult {
|
||||
bool trusted;
|
||||
bool user_denied;
|
||||
int error_code;
|
||||
|
||||
public ValidationResult (bool trusted, bool user_denied, int error_code)
|
||||
{
|
||||
this.trusted = trusted;
|
||||
this.user_denied = user_denied;
|
||||
this.error_code = error_code;
|
||||
}
|
||||
|
||||
public bool Trusted {
|
||||
get { return trusted; }
|
||||
}
|
||||
|
||||
public bool UserDenied {
|
||||
get { return user_denied; }
|
||||
}
|
||||
|
||||
public int ErrorCode {
|
||||
get { return error_code; }
|
||||
}
|
||||
}
|
||||
|
||||
#if INSIDE_SYSTEM
|
||||
internal
|
||||
#else
|
||||
|
Reference in New Issue
Block a user