Class JwtPrivateKeyCreds
java.lang.Object
org.apache.tika.pipes.fetcher.http.jwt.JwtCreds
org.apache.tika.pipes.fetcher.http.jwt.JwtPrivateKeyCreds
-
Constructor Summary
ConstructorDescriptionJwtPrivateKeyCreds
(PrivateKey privateKey, String issuer, String subject, int expiresInSeconds) -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateKey
convertBase64ToPrivateKey
(String privateKeyBase64) static String
convertPrivateKeyToBase64
(PrivateKey privateKey) Methods inherited from class org.apache.tika.pipes.fetcher.http.jwt.JwtCreds
getExpiresInSeconds, getIssuer, getSubject
-
Constructor Details
-
JwtPrivateKeyCreds
public JwtPrivateKeyCreds(PrivateKey privateKey, String issuer, String subject, int expiresInSeconds)
-
-
Method Details
-
getPrivateKey
-
convertPrivateKeyToBase64
-
convertBase64ToPrivateKey
public static PrivateKey convertBase64ToPrivateKey(String privateKeyBase64) throws TikaConfigException - Throws:
TikaConfigException
-