Return whether an RSA key is multi‐prime or two‐prime (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_get_version(RSA* r);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

RSA_ASN1_VERSION_MULTI or RSA_ASN1_VERSION_DEFAULT (two‐prime).

Parameters

Name

Description

r

RSA key to query.

Created with MrDocs