Return the first prime factor (p) of an RSA key without transferring ownership.

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
BIGNUM const*
RSA_get0_p(RSA const* d);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Internal BIGNUM for p, or NULL if unset.

Parameters

Name

Description

d

RSA key to query.

Created with MrDocs