Package io.jans.as.model.crypto.binding
Class TokenBindingID
- java.lang.Object
-
- io.jans.as.model.crypto.binding.TokenBindingID
-
public class TokenBindingID extends java.lang.Object
struct { TokenBindingKeyParameters key_parameters; uint16 key_length; Length (in bytes) of the following TokenBindingID.TokenBindingPublicKey select (key_parameters) { case rsa2048_pkcs1.5: case rsa2048_pss: RSAPublicKey rsapubkey; case ecdsap256: TB_ECPoint point; } TokenBindingPublicKey; } TokenBindingID;
- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description TokenBindingID(TokenBindingKeyParameters keyParameters, byte[] publicKey, byte[] raw)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenBindingKeyParameters
getKeyParameters()
byte[]
getPublicKey()
byte[]
getRaw()
byte[]
sha256()
java.lang.String
sha256base64url()
-
-
-
Constructor Detail
-
TokenBindingID
public TokenBindingID(TokenBindingKeyParameters keyParameters, byte[] publicKey, byte[] raw)
-
-
Method Detail
-
getKeyParameters
public TokenBindingKeyParameters getKeyParameters()
-
getPublicKey
public byte[] getPublicKey()
-
getRaw
public byte[] getRaw()
-
sha256
public byte[] sha256()
-
sha256base64url
public java.lang.String sha256base64url()
-
-