Unit

ScBridge

 

type

 TScKeyFormat = (kfDefault, kfDER, kfPKCS8, kfPKCS8enc, kfIETF, kfPKCS1);

 

Description

The TScKeyFormat enumeration represents data formats for exporting the RSA/DSA key.

 

ValueMeaning
kfDefaultSpecifies format, that is used by OpenSSH. Lets you store both private and public keys. You can add a comment when saving the public key. Data can be stored in both open and encrypted form.
kfDERSpecifies format to store only private keys in open form. Data is stored as a sequence of bytes with no transformation.
kfPKCS8Specifies format to store only private keys in the PKCS8 form.
kfPKCS8encSpecifies format to store only private keys in the encrypted PKCS8 form.
kfIETFSpecifies format to store both private and public keys in the IETF form. Data can be stored in open or encrypted form. You can add a comment when storing the key.
kfPKCS1Specifies format to store both private and public keys in the PKCS1 form.

 

See also

TScKey.ExportTo

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support