java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
- All Implemented Interfaces:
CipherParameters
- Direct Known Subclasses:
MLKEMKeyParameters
Parameter class for asymmetric key operations. Distinguishes between public and private key usage in cryptographic operations.
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionAsymmetricKeyParameter(boolean privateKey) Create a new asymmetric key parameter.Method Summary
All Methods
Field Details
privateKey
boolean privateKeywhether this is a private key
Constructor Details
AsymmetricKeyParameter
public AsymmetricKeyParameter(boolean privateKey) Create a new asymmetric key parameter.- Parameters:
privateKey- true for private key, false for public key
Method Details
isPrivate
public boolean isPrivate()Check if this is a private key.- Returns:
- true if this is a private key