Class Ed255192018Suite
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.signing.vcdm.Ed255192018Suite
- All Implemented Interfaces:
LinkedDataCryptographicSuite
Implementation of an LD-Crypto Suite for Ed25519Signature2018
Canonicalization Algorithm: https://w3id.org/security#URDNA2015 Digest Algorithm: http://w3id.org/digests#sha256 Signature Algorithm: http://w3id.org/security#ed25519
- Author:
- Stefan Wiedemann
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe proof type defined by the suite.byte[]
getSignature
(VerifiableCredential verifiableCredential) Return the signature for the given credential as defined by the suite.
-
Field Details
-
PROOF_TYPE
- See Also:
-
-
Constructor Details
-
Ed255192018Suite
-
-
Method Details
-
getSignature
Description copied from interface:LinkedDataCryptographicSuite
Return the signature for the given credential as defined by the suite.- Specified by:
getSignature
in interfaceLinkedDataCryptographicSuite
- Parameters:
verifiableCredential
- the credential to create a signature for- Returns:
- the signature
-
getProofType
Description copied from interface:LinkedDataCryptographicSuite
The proof type defined by the suite.- Specified by:
getProofType
in interfaceLinkedDataCryptographicSuite
- Returns:
- the type
-