Class TrustAnchor

    • Constructor Detail

      • TrustAnchor

        public TrustAnchor()
    • 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:
        this object.
      • 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:
        this object.
        See Also:
        RFC 7517 JSON Web Key (JWK)