EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSecureServer.InternalValidate

TElSecureServer     See also    


 

Returns the client certificate validity information.

 
 

Declaration

[C#]
    void InternalValidate(ref TSBCertificateValidity Validity, ref TSBCertificateValidityReason Reason);

[VB.NET]
    Sub InternalValidate(ByRef Validity As TSBCertificateValidity, ByRef Reason As TSBCertificateValidityReason)

[Pascal]
    procedure InternalValidate(var Validity : TSBCertificateValidity; var Reason : TSBCertificateValidityReason);

[VB6]
    Sub IElSecureServerX.InternalValidate(Validity As TxSBCertificateValidity, Reason As TxSBCertificateValidityReason)

[ActiveX]
    HRESULT _stdcall IElSecureServerX.InternalValidate([out] TxSBCertificateValidity * Validity, [out] TxSBCertificateValidityReason * Reason);

[DLL]
    __stdcall DWORD SBServerInternalValidate(HANDLE handle, int * Validity, int * Reason);
 
 

Parameters

  • [DLL]handle - handle to the TElSecureServer object that was returned by Constructor
  • Validity - The common validity state of certificate
  • Reason - Details of certificate's validity state
 
 

Values

[.NET] [Pascal] [ActiveX] [DLL] Description
cvOk = 0 cvOk SB_CERT_VALIDITY_OK = 1 certificate was validated successfully and is valid
cvSelfSigned = 1 cvSelfSigned SB_CERT_VALIDITY_SELF_SIGNED = 2 certificate is self signed
cvInvalid = 2 cvInvalid SB_CERT_VALIDITY_INVALID = 4 certificate is invalid
cvStorageError = 3 cvStorageError SB_CERT_VALIDITY_STORAGE_ERROR = 8 certificate was not validated due to certificate storage error
cvChainUnvalidated = 4 cvChainUnvalidated SB_CERT_VALIDITY_CHAIN_UNVALIDATED = 16 certificate chain was not validated because while the certificate itself is valid, one or more of CA Certificates in the chain have validation problems.
Declared in
[.NET] [Pascal]
Namespace: SBX509
Assembly: SecureBlackbox
Unit: SBX509

[.NET] [Pascal] [ActiveX] [DLL] Description
SBX509.Unit.vrBadData=1 vrBadData SB_CERT_VALIDITY_REASON_BAD_DATA = 1 Invalid certificate format or certificate is corrupted
SBX509.Unit.vrRevoked=2 vrRevoked SB_CERT_VALIDITY_REASON_REVOKED = 2 Certificate is revoked by Issuer
SBX509.Unit.vrNotYetValid=4 vrNotYetValid SB_CERT_VALIDITY_REASON_NOT_YET_VALID = 4 Certificate is not valid yet
SBX509.Unit.vrExpired=8 vrExpired SB_CERT_VALIDITY_REASON_EXPIRED = 8 Certificate is expired
SBX509.Unit.vrInvalidSignature=16 vrInvalidSignature SB_CERT_VALIDITY_REASON_INVALID_SIGNATURE = 16 Certificate contains invalid digital signature, it could be corrupted
SBX509.Unit.vrUnknownCA=32 vrUnknownCA SB_CERT_VALIDITY_REASON_UNKNOWN_CA = 32 Issuer (CA) certificate was not found.
SBX509.Unit.vrCAUnauthorized=64 vrCAUnauthorized SB_CERT_VALIDITY_REASON_CA_UNAUTHORIZED = 64 Issuer (CA) certificate was found but it's key usage fields don't allow use of this certificate for signing other certificates.
SBX509.Unit.vrCRLNotVerified=128 vrCRLNotVerified SB_CERT_VALIDITY_REASON_CRL_NOT_VERIFIED = 128 Certificate Revocation List for this certificate could not be retrieved and/or validated.
SBX509.Unit.vrOCSPNotVerified=256 vrOCSPNotVerified SB_CERT_VALIDITY_REASON_OCSP_NOT_VERIFIED = 256 OCSP response for this certificate could not be retrieved and/or validated.
SBX509.Unit.vrIdentityMismatch=512 vrIdentityMismatch SB_CERT_VALIDITY_REASON_IDENTITY_MISMATCH = 512 Provided certificate doesn't include the specified name and / or IP address. Either the remote side in TLS or sender in S/MIME is misconfigured, or the certificate is misused by the remote side or sender, or authenticity of the remote side or sender is forged.
SBX509.Unit.vrNoKeyUsage=1024 vrNoKeyUsage SB_CERT_VALIDITY_REASON_NO_KEY_USAGE = 1024 Provided certificate may not be used for chosen activity (identifying TLS server or client or S/MIME message sender)
SBX509.Unit.vrBlocked=2048 vrBlocked SB_CERT_VALIDITY_REASON_BLOCKED = 2048 Provided certificate has been found in the list of blocked certificates
Declared in
[.NET] [Pascal]
Namespace: SBX509
Assembly: SecureBlackbox
Unit: SBX509


 
 

Description

    This method causes TElSecureServer to validate client's certificate using certificate storage specified by parameter ClientCertStorage. Use this method after the OnCertificateValidate event was fired (it's a good idea to call this method in the event handler).
    If ClientCertStorage property is not set, the Validity parameter returns SB_CERTIFICATE_VALIDITY_STORAGE_ERROR.

 
 

See also:     OnCertificateValidate     ClientCertStorage    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation