Package io.jans.as.model.jwe
Class Jwe
- java.lang.Object
-
- io.jans.as.model.token.JsonWebResponse
-
- io.jans.as.model.jwe.Jwe
-
- All Implemented Interfaces:
java.io.Serializable
public class Jwe extends JsonWebResponse
- Version:
- July 29, 2016
- Author:
- Javier Rojas Blum
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.jans.as.model.token.JsonWebResponse
claims, header
-
-
Constructor Summary
Constructors Constructor Description Jwe()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAdditionalAuthenticatedData()
java.lang.String
getEncodedCiphertext()
java.lang.String
getEncodedEncryptedKey()
java.lang.String
getEncodedHeader()
java.lang.String
getEncodedInitializationVector()
java.lang.String
getEncodedIntegrityValue()
Jwt
getSignedJWTPayload()
static Jwe
parse(java.lang.String encodedJwe, java.security.PrivateKey privateKey, byte[] sharedSymmetricKey)
void
setEncodedCiphertext(java.lang.String encodedCiphertext)
void
setEncodedEncryptedKey(java.lang.String encodedEncryptedKey)
void
setEncodedHeader(java.lang.String encodedHeader)
void
setEncodedInitializationVector(java.lang.String encodedInitializationVector)
void
setEncodedIntegrityValue(java.lang.String encodedIntegrityValue)
void
setSignedJWTPayload(Jwt signedJWTPayload)
java.lang.String
toString()
-
-
-
Method Detail
-
parse
public static Jwe parse(java.lang.String encodedJwe, java.security.PrivateKey privateKey, byte[] sharedSymmetricKey) throws InvalidJweException, InvalidJwtException
-
getEncodedHeader
public java.lang.String getEncodedHeader()
-
setEncodedHeader
public void setEncodedHeader(java.lang.String encodedHeader)
-
getEncodedEncryptedKey
public java.lang.String getEncodedEncryptedKey()
-
setEncodedEncryptedKey
public void setEncodedEncryptedKey(java.lang.String encodedEncryptedKey)
-
getEncodedInitializationVector
public java.lang.String getEncodedInitializationVector()
-
setEncodedInitializationVector
public void setEncodedInitializationVector(java.lang.String encodedInitializationVector)
-
getEncodedCiphertext
public java.lang.String getEncodedCiphertext()
-
setEncodedCiphertext
public void setEncodedCiphertext(java.lang.String encodedCiphertext)
-
getEncodedIntegrityValue
public java.lang.String getEncodedIntegrityValue()
-
setEncodedIntegrityValue
public void setEncodedIntegrityValue(java.lang.String encodedIntegrityValue)
-
getAdditionalAuthenticatedData
public java.lang.String getAdditionalAuthenticatedData()
-
getSignedJWTPayload
public Jwt getSignedJWTPayload()
-
setSignedJWTPayload
public void setSignedJWTPayload(Jwt signedJWTPayload)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classJsonWebResponse
-
-