Class BLSPrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.BLSKeyParameters
org.bouncycastle.crypto.params.BLSPrivateKeyParameters
- All Implemented Interfaces:
CipherParameters
Private-key parameters for a BLS signature scheme. The underlying secret
is an integer in
[1, r - 1], where r is the suite's G1 / G2
subgroup order.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BLSKeyParameters
getParametersMethods inherited from class AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
BLSPrivateKeyParameters
-
-
Method Details
-
getSecret
- Returns:
- the BLS secret scalar.
-
getEncoded
public byte[] getEncoded()- Returns:
- the canonical 32-byte big-endian encoding of the secret
scalar, matching the
sk_to_lebytes/os2ipconvention used by draft-irtf-cfrg-bls-signatureKeyGen.
-