bluecrystal.service.jwt.CredentialJHmac Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluecrystal.deps.service Show documentation
Show all versions of bluecrystal.deps.service Show documentation
API that should be used by applications
package bluecrystal.service.jwt;
public class CredentialJHmac implements Credential {
private byte[] secret;
public CredentialJHmac() {
super();
// TODO Auto-generated constructor stub
}
public CredentialJHmac(byte[] secret) {
super();
this.secret = secret;
}
public byte[] getSecret() {
return secret;
}
@Override
public AppAlgorithm getAlgorithn() {
return AppAlgorithm.HS256;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy