Discuss this help topic in SecureBlackbox Forum


TElPGPKeyring     See also     

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

Adds a public key from the X.509 certificate to the key ring.


    int AddX509Certificate(TElX509Certificate Certificate);

    Function AddX509Certificate(ByVal Certificate As TElX509Certificate) As Integer

    function AddX509Certificate(Certificate : TElX509Certificate) : integer;

    int32_t AddX509Certificate(TElX509Certificate &Certificate);
    int32_t AddX509Certificate(TElX509Certificate *Certificate);

    integer AddX509Certificate(TElX509Certificate $Certificate)

    int addX509Certificate(TElX509Certificate Certificate);


  • Certificate - certificate to be added.

Return value

    Index of the newly added public key.


    Use this method when you need to add new public key from the certificate to key ring. If the certificate contains secret key it will be added as well. E-mail address from the certificate will be used as UserID. If there is no e-mail address than commonName is used, if there is no commonName also organizationName will be assigned to UserID.
    If such key is already present in the keyring only new information will be added.

See also:     AddSecretKey     ExportTo    

Discuss this help topic in SecureBlackbox Forum