rsa

fun rsa(privateKey: Pkcs1RsaPrivateKeyInfo, attributes: Set<Asn1Element>? = null): Pkcs8PrivateKeyInfo(source)

Deprecated

Moved to an extension on Pkcs1RsaPrivateKeyInfo's companion

Replace with

Pkcs8PrivateKeyInfo(privateKey, attributes)