Package net.handle.hdllib.trust
Class HandleVerifier
- java.lang.Object
-
- net.handle.hdllib.trust.HandleVerifier
-
public class HandleVerifier extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HandleVerifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HandleClaimsSet
getHandleClaimsSet(JsonWebSignature signature)
static HandleVerifier
getInstance()
void
verifyHandleClaimsSetAndSetReportProperties(SignatureVerificationReport report, JsonWebSignature signature, java.security.PublicKey publicKey)
IssuedSignatureVerificationReport
verifyIssuedSignature(java.lang.String handle, IssuedSignature issuedSignature)
void
verifyIssuedSignatureIsAuthorizedOverHandle(java.lang.String handle, IssuedSignature issuedSignature, IssuedSignatureVerificationReport report)
void
verifyIssuedSignatureIsValid(IssuedSignature issuedSignature, SignatureVerificationReport report)
boolean
verifyPermissionsAreAuthorizedOverHandle(java.lang.String handle, java.util.List<Permission> perms)
ValuesSignatureVerificationReport
verifyValues(java.lang.String handle, java.util.List<HandleValue> values, JsonWebSignature signature, java.security.PublicKey publicKey)
-
-
-
Method Detail
-
getInstance
public static HandleVerifier getInstance()
-
verifyValues
public ValuesSignatureVerificationReport verifyValues(java.lang.String handle, java.util.List<HandleValue> values, JsonWebSignature signature, java.security.PublicKey publicKey)
-
getHandleClaimsSet
public HandleClaimsSet getHandleClaimsSet(JsonWebSignature signature)
-
verifyHandleClaimsSetAndSetReportProperties
public void verifyHandleClaimsSetAndSetReportProperties(SignatureVerificationReport report, JsonWebSignature signature, java.security.PublicKey publicKey)
-
verifyIssuedSignatureIsValid
public void verifyIssuedSignatureIsValid(IssuedSignature issuedSignature, SignatureVerificationReport report)
-
verifyPermissionsAreAuthorizedOverHandle
public boolean verifyPermissionsAreAuthorizedOverHandle(java.lang.String handle, java.util.List<Permission> perms)
-
verifyIssuedSignatureIsAuthorizedOverHandle
public void verifyIssuedSignatureIsAuthorizedOverHandle(java.lang.String handle, IssuedSignature issuedSignature, IssuedSignatureVerificationReport report)
-
verifyIssuedSignature
public IssuedSignatureVerificationReport verifyIssuedSignature(java.lang.String handle, IssuedSignature issuedSignature)
-
-