OpenJDK 27
java.base
sun.security.util
InternalPrivateKey
APIdia Launch Partner
Top
Description
Methods
sun.security.util
public
Interface InternalPrivateKey
Known Direct Implementers
sun.
security.
pkcs.
PKCS8Key
Imports
java.
security.
PublicKey
Extra private methods on a private key.
Method Summary
Modifier and Type
Method and Description
public
default
PublicKey
Returns:
the public key
calculatePublicKey
()
Calculates a matching public key.
Method Detail
calculatePublicKey
back to summary
public
default
PublicKey
calculatePublicKey
()
Calculates a matching public key.
Returns:
PublicKey
the public key
Exceptions
UnsupportedOperationException
:
if not supported