X509CertifiedSecureAreaBased
data class X509CertifiedSecureAreaBased(val certChain: X509CertChain, val secureArea: SecureArea, val keyInfo: KeyInfo, val unlockReason: Reason = Reason.Unspecified, val algorithm: Algorithm = keyInfo.algorithm) : AsymmetricKey.X509Certified, AsymmetricKey.SecureAreaBased
AsymmetricKey which is both AsymmetricKey.X509Certified and AsymmetricKey.SecureAreaBased.
Constructors
Link copied to clipboard
constructor(certChain: X509CertChain, secureArea: SecureArea, keyInfo: KeyInfo, unlockReason: Reason = Reason.Unspecified, algorithm: Algorithm = keyInfo.algorithm)
Properties
Link copied to clipboard
X509 certificate chain for the key, corresponds to x5c header value in JWT.
Link copied to clipboard
Public key as EcPublicKey
Link copied to clipboard
Public key as MlDsaPublicKey
Link copied to clipboard
Public key as RsaPublicKey
Link copied to clipboard
SecureArea that holds the private key
Link copied to clipboard
Reason that should be used to generate a signature
Functions
Link copied to clipboard
Returns key's certificate subject as X500Name.
Link copied to clipboard
Performs Key Agreement using this key and otherKey.
Link copied to clipboard
Convenience method to sign message when this is an EC key.
Link copied to clipboard
Convenience method to sign message when this is an ML-DSA key.
Link copied to clipboard
Convenience method to sign message when this is an RSA key.