Package com.clevercloud.biscuit.token
Class RevocationIdentifier
- java.lang.Object
-
- com.clevercloud.biscuit.token.RevocationIdentifier
-
public class RevocationIdentifier extends Object
-
-
Constructor Summary
Constructors Constructor Description RevocationIdentifier(byte[] bytes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RevocationIdentifierfrom_b64url(String b64url)Creates a RevocationIdentifier from base64 url (RFC4648_URLSAFE)static RevocationIdentifierfrom_bytes(byte[] bytes)byte[]getBytes()Stringserialize_b64url()Serializes a revocation identifier as base64 url (RFC4648_URLSAFE)
-
-
-
Method Detail
-
from_b64url
public static RevocationIdentifier from_b64url(String b64url)
Creates a RevocationIdentifier from base64 url (RFC4648_URLSAFE)- Parameters:
b64url- serialized revocation identifier- Returns:
- RevocationIdentifier
-
serialize_b64url
public String serialize_b64url()
Serializes a revocation identifier as base64 url (RFC4648_URLSAFE)- Returns:
- String
-
from_bytes
public static RevocationIdentifier from_bytes(byte[] bytes)
-
getBytes
public byte[] getBytes()
-
-