public class UserKeysForSupplier extends Object implements UserKeysWithHmacSecret
| Constructor and Description |
|---|
UserKeysForSupplier(org.bouncycastle.crypto.params.RSAKeyParameters rsaPublicKeyParameters,
byte[] hmacSecretKey)
Constructs a new object holding the provided parameters
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getHmacSecretKey() |
org.bouncycastle.crypto.params.RSAKeyParameters |
getRsaPublicKey() |
public UserKeysForSupplier(org.bouncycastle.crypto.params.RSAKeyParameters rsaPublicKeyParameters,
byte[] hmacSecretKey)
rsaPublicKeyParameters - is the public key in RsaKeyParameters form, used for key encapsulation.hmacSecretKey - is a secret key for later use in hmac generation.public org.bouncycastle.crypto.params.RSAKeyParameters getRsaPublicKey()
public byte[] getHmacSecretKey()
getHmacSecretKey in interface UserKeysWithHmacSecretLicensed under the Apache License 2.0 - Copyright © {inceptionYear} – 2024 the original author or authors.