Метод | Описание | |
---|---|---|
Decrypt ( |
Decrypt data using RSA
|
|
Decrypt ( |
Decrypt data using RSA
|
|
Encrypt ( |
Encrypt data using RSA
|
|
Encrypt ( |
Encrypt data using RSA
|
|
ExtractDigitalSignature ( string filePath ) : |
|
|
FOGProjectCertificate ( ) : |
|
|
GetRootCertificate ( string name ) : |
|
|
InjectCA ( |
Add a CA certificate to the machine store
|
|
IsAuthenticodeValid ( string filePath, |
Check if an authenticode on an PE file is both valid and originates from a specified certificate authority
|
|
IsFromCA ( |
Validate that certificate came from a specific Certificate Authority An X509 Chain validation will occur, ignoring certificate expirations and also ignoring any revocations TODO: Provide revocation checks for FOG CA TODO: Add support for intermediate CAs
|
|
IsTimestampValid ( string filePath ) : bool |
Check if a PE file has a valid authenticode timestamp
|
|
PrettyChainValidation ( |
Check if a certificate properly validates using a provided X509Chain Also log out meaningfull errors on failed validation
|
|
ServerCertificate ( ) : |
|
Метод | Описание | |
---|---|---|
BuildCertChainStore ( |
Build a certificate list containing all certificates needed to perform a chain validate of the {cert} param
|
|
ExtractX509Extension ( |
Extract an X509 extension matching the specified oid
|
public static Decrypt ( |
||
cert | The X509 certificate to use | |
data | byte | The data to decrypt |
Результат | byte[] |
public static Decrypt ( |
||
cert | The X509 certificate to use | |
data | string | The data to decrypt |
Результат | string |
public static Encrypt ( |
||
cert | The X509 certificate to use | |
data | byte | The data to encrypt |
Результат | byte[] |
public static Encrypt ( |
||
cert | The X509 certificate to use | |
data | string | The data to encrypt |
Результат | string |
public static ExtractDigitalSignature ( string filePath ) : |
||
filePath | string | |
Результат |
public static FOGProjectCertificate ( ) : |
||
Результат |
public static GetRootCertificate ( string name ) : |
||
name | string | The name of the certificate to retrieve |
Результат |
public static InjectCA ( |
||
caCert | The certificate to add | |
Результат | bool |
public static IsAuthenticodeValid ( string filePath, |
||
filePath | string | The location of the PE file |
authority | The certificate authority to validate against | |
Результат | bool |
public static IsFromCA ( |
||
authority | The CA certificate | |
certificate | The certificate to validate | |
Результат | bool |
public static IsTimestampValid ( string filePath ) : bool | ||
filePath | string | The path to the PE file to check |
Результат | bool |
public static PrettyChainValidation ( |
||
cert | The certificate to validate | |
chain | The X509 chain policy used to validate | |
Результат | bool |
public static ServerCertificate ( ) : |
||
Результат |