public class ECCSIPrivateKeyParameters extends AsymmetricKeyParameter
This class encapsulates the secret signing key (SSK) used in ECCSI. The SSK is generated by
the Key Management Service (KMS) and is a random integer modulo the order of the elliptic curve.
It is paired with the corresponding public key parameters, represented by an instance of
ECCSIPublicKeyParameters, to form the complete key material required for generating
and verifying ECCSI signatures without the use of traditional certificates.
Per RFC 6507 Section 5.1:
| Constructor and Description |
|---|
ECCSIPrivateKeyParameters(java.math.BigInteger ssk,
ECCSIPublicKeyParameters pub)
Constructs
ECCSIPrivateKeyParameters with the specified secret signing key
and associated public key parameters. |
| Modifier and Type | Method and Description |
|---|---|
ECCSIPublicKeyParameters |
getPublicKeyParameters()
Returns the public key parameters associated with this private key.
|
java.math.BigInteger |
getSSK()
Returns the secret signing key (SSK) used in ECCSI.
|
isPrivatepublic ECCSIPrivateKeyParameters(java.math.BigInteger ssk,
ECCSIPublicKeyParameters pub)
ECCSIPrivateKeyParameters with the specified secret signing key
and associated public key parameters.ssk - the secret signing key (SSK) as a BigInteger.pub - the corresponding public key parameters, which encapsulate the public validation token.public ECCSIPublicKeyParameters getPublicKeyParameters()
ECCSIPublicKeyParameters containing the public validation token (PVT).public java.math.BigInteger getSSK()