Package | Description |
---|---|
org.hyperledger.fabric.sdk.idemix |
Modifier and Type | Method and Description |
---|---|
static RevocationAlgorithm |
RevocationAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevocationAlgorithm[] |
RevocationAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static org.hyperledger.fabric.protos.idemix.Idemix.CredentialRevocationInformation |
RevocationAuthority.createCRI(PrivateKey key,
org.apache.milagro.amcl.FP256BN.BIG[] unrevokedHandles,
int epoch,
RevocationAlgorithm alg)
Creates a Credential Revocation Information object
|
static int |
RevocationAuthority.getProofBytes(RevocationAlgorithm alg)
Depending on the selected revocation algorithm, the proof data length will be different.
|
static boolean |
RevocationAuthority.verifyEpochPK(PublicKey pk,
org.hyperledger.fabric.protos.idemix.Idemix.ECP2 epochPK,
byte[] epochPkSig,
long epoch,
RevocationAlgorithm alg)
Verifies that the revocation PK for a certain epoch is valid,
by checking that it was signed with the long term revocation key
|
Copyright © 2022. All rights reserved.