Package org.keycloak.protocol.saml.util
Class ArtifactBindingUtils
java.lang.Object
org.keycloak.protocol.saml.util.ArtifactBindingUtils
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic StringartifactToResolverProviderId(String artifact) static StringbyteArrayToResolverProviderId(byte[] ar) static byte[]computeArtifactBindingIdentifier(String identifierFrom) Computes 20 bytes long byte identifier of the given string, for example, from entityIdstatic StringcomputeArtifactBindingIdentifierString(String identifierFrom) Computes identifier from the given String, for example, from entityIdstatic StringgetArtifactBindingIdentifierString(byte[] identifier) Turns byte representation of the identifier into readable String 
- 
Constructor Details
- 
ArtifactBindingUtils
public ArtifactBindingUtils() 
 - 
 - 
Method Details
- 
artifactToResolverProviderId
 - 
byteArrayToResolverProviderId
 - 
computeArtifactBindingIdentifierString
Computes identifier from the given String, for example, from entityId- Parameters:
 identifierFrom- String that will be turned into an identifier- Returns:
 - Base64 of SHA-1 hash of the identifierFrom
 
 - 
getArtifactBindingIdentifierString
Turns byte representation of the identifier into readable String- Parameters:
 identifier- byte representation of the identifier- Returns:
 - Base64 of the identifier
 
 - 
computeArtifactBindingIdentifier
Computes 20 bytes long byte identifier of the given string, for example, from entityId- Parameters:
 identifierFrom- String that will be turned into an identifier- Returns:
 - SHA-1 hash of the given identifierFrom
 
 
 -