Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmPrivateKeyRingComponent.AddPrivateDLKey

function AddPrivateDLKey(const PrivKey: iDLPrivateKey; const PublicKeyIdentifier: OctetString): Integer;
Registers a discrete-log (DSA/DH/Nyberg-Rueppel) private key under the given PublicKeyIdentifier so it can later be matched to a certificate. Use this when you already hold an iDLPrivateKey object (e.g. loaded from a key file) rather than generating one via CreateKeyPair. Returns the new key count.