public class HMACSecret
extends com.nimbusds.jose.jwk.JWK
implements com.nimbusds.jose.jwk.SecretJWK
| Constructor and Description |
|---|
HMACSecret(byte[] secret,
String id) |
HMACSecret(String secret,
String id,
boolean base64Encode) |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashMap<String,?> |
getRequiredParams() |
boolean |
isPrivate() |
int |
size() |
com.nimbusds.jose.jwk.JWK |
toPublicJWK() |
SecretKey |
toSecretKey() |
computeThumbprint, computeThumbprint, getAlgorithm, getKeyID, getKeyOperations, getKeyStore, getKeyType, getKeyUse, getParsedX509CertChain, getX509CertChain, getX509CertSHA256Thumbprint, getX509CertThumbprint, getX509CertURL, load, parse, parse, parse, toJSONObject, toJSONString, toStringpublic HMACSecret(byte[] secret,
String id)
public LinkedHashMap<String,?> getRequiredParams()
getRequiredParams in class com.nimbusds.jose.jwk.JWKpublic boolean isPrivate()
isPrivate in class com.nimbusds.jose.jwk.JWKpublic com.nimbusds.jose.jwk.JWK toPublicJWK()
toPublicJWK in class com.nimbusds.jose.jwk.JWKpublic int size()
size in class com.nimbusds.jose.jwk.JWKpublic SecretKey toSecretKey()
toSecretKey in interface com.nimbusds.jose.jwk.SecretJWKCopyright © 2017–2018. All rights reserved.