Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstRSAPublicKey.LoadPublicKeyFromStream

function LoadPublicKeyFromStream(const aIdentifier: OctetString; aStrm : TStream) : Boolean; override;
Loads a public key from aStrm and checks it is the SAME key (matching modulus/exponent) as this component's current public key, rather than replacing it; used to sanity-check a key found elsewhere (e.g. inside a certificate) against an already-configured component.