Package com.authlete.common.dto
Class TrustAnchor
- java.lang.Object
-
- com.authlete.common.dto.TrustAnchor
-
- All Implemented Interfaces:
Serializable
public class TrustAnchor extends Object implements Serializable
Trust anchor.- Since:
- 3.22
- See Also:
- OpenID Federation 1.0, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrustAnchor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetEntityId()Get the entity ID of the trust anchor.StringgetJwks()Get the JWK Set document containing public keys of the trust anchor.TrustAnchorsetEntityId(URI entityId)Set the entity ID of the trust anchor.TrustAnchorsetJwks(String jwks)Set the JWK Set document containing public keys of the trust anchor.
-
-
-
Method Detail
-
getEntityId
public URI getEntityId()
Get the entity ID of the trust anchor.- Returns:
- The entity ID.
-
setEntityId
public TrustAnchor setEntityId(URI entityId)
Set the entity ID of the trust anchor.- Parameters:
entityId- The entity ID.- Returns:
thisobject.
-
getJwks
public String getJwks()
Get the JWK Set document containing public keys of the trust anchor.The keys are used to verify signatures of entity statements issued by the trust anchor.
- Returns:
- The JWK Set document containing public keys of the trust anchor.
- See Also:
- RFC 7517 JSON Web Key (JWK)
-
setJwks
public TrustAnchor setJwks(String jwks)
Set the JWK Set document containing public keys of the trust anchor.The keys are used to verify signatures of entity statements issued by the trust anchor.
- Parameters:
jwks- The JWK Set document containing public keys of the trust anchor.- Returns:
thisobject.- See Also:
- RFC 7517 JSON Web Key (JWK)
-
-