Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.FromX509Certificate

TElX509Certificate     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Imports the certificate from the framework-native object

Declaration

[C#]
    not available

[VB.NET]
    not available

[Pascal]
    not available

[C++]
    not available

[PHP]
    not available

[Java]
    void fromX509Certificate(X509Certificate Cert);
    int fromX509Certificate(X509Certificate Cert, PrivateKey Key);

Parameters

  • Cert - reference to the certificate object, which will be imported
  • Key - reference to the private key, which will be imported
  • SubstituteCryptoProvider - specifies, whether the new object should use Win32 cryptoprovider

Description

    Use this method to convert the Java or .NET Framework certificate object into TElX509Certificate for future use with SecureBlackbox.

In .NET edition SubstituteCryptoProvider parameter specifies, whether the new object should use Win32 cryptoprovider (when the value is true) or SecureBlackbox built-in cyrptoprovider (when the value is false).

See also:     ToX509Certificate     GetPrivateKey    

Discuss this help topic in SecureBlackbox Forum