API Documentation Integration MsecSdk
Namespaces | Classes | Enumerations
MsecUnitySdk Namespace Reference

Classes

class  BaseMsecSdkClient
 Abstract base class for Msec SDK client implementations. More...
 
class  DummyMsecSdkClient
 
interface  IMsecSdkClient
 Interface defining the contract for Msec SDK client implementations. More...
 
interface  IMsecSdkListener
 Interface defining the callback methods for Msec SDK events. More...
 
class  InitializationStatus
 Represents the status of the Msec SDK initialization process. More...
 
class  MsecSdk
 A singleton class that provides an interface to the Msec SDK for Unity. More...
 
class  MsecSdkConfig
 Global configuration used for MsecSdk. More...
 
class  MsecSdkConstants
 
class  PerformanceData
 Represents performance metrics reported by the Msec SDK. More...
 
class  ViolationInfo
 Represents information about a security violation detected by the Msec SDK. More...
 

Enumerations

enum class  DomainCertificateVerificationResult {
  OK = 0 , UnknownError = 1 , SubjectKeyIdNotMatch = 2 , FingerprintNotMatch = 3 ,
  AuthorityKeyIdNotMatch = 4 , CertNotMatch = 5 , CertFetchTimeout = -1
}
 Enumerates the possible results of domain certificate verification. More...
 

Enumeration Type Documentation

◆ DomainCertificateVerificationResult

Enumerates the possible results of domain certificate verification.

This enum defines the outcomes when verifying a domain's SSL/TLS certificate, such as success, various mismatch errors, or timeout conditions. It is used by the MsecSdk to report certificate verification status.

Enumerator
OK 

Certificate verification succeeded.

Indicates that the certificate is valid and matches all expected criteria.

UnknownError 

An unknown error occurred during verification.

Represents a generic failure where the specific cause is not identified.

SubjectKeyIdNotMatch 

The subject key ID of the certificate does not match the expected value.

This error occurs when the certificate's subject key identifier differs from the reference.

FingerprintNotMatch 

The certificate fingerprint does not match the expected value.

Indicates a mismatch in the cryptographic fingerprint of the certificate.

AuthorityKeyIdNotMatch 

The authority key ID of the certificate does not match the expected value.

This error occurs when the certificate's authority key identifier differs from the reference.

CertNotMatch 

The certificate does not match the expected certificate.

Indicates a general mismatch between the received and expected certificate data.

CertFetchTimeout 

Timeout occurred while fetching the certificate.

Indicates that the verification process failed due to a timeout when retrieving the certificate.