public class UserKeysForConsumer extends Object implements UserKeysWithHmacSecret
| Constructor and Description |
|---|
UserKeysForConsumer(org.bouncycastle.crypto.params.RSAKeyParameters rsaPrivateKeyParams,
byte[] hmacSecretKey)
Constructs a new object holding the provided parameters
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getHmacSecretKey() |
org.bouncycastle.crypto.params.RSAKeyParameters |
getRsaPrivateKey() |
public UserKeysForConsumer(org.bouncycastle.crypto.params.RSAKeyParameters rsaPrivateKeyParams,
byte[] hmacSecretKey)
rsaPrivateKeyParams - is the public key in RsaKeyParameters form, used for decrypting key encapsulation.hmacSecretKey - is a secret key for hmac such as in finding one's correct keyslot.public org.bouncycastle.crypto.params.RSAKeyParameters getRsaPrivateKey()
public byte[] getHmacSecretKey()
getHmacSecretKey in interface UserKeysWithHmacSecretLicensed under the Apache License 2.0 - Copyright © {inceptionYear} – 2024 the original author or authors.