public final class RelyingPartyIdentity extends java.lang.Object implements PublicKeyCredentialEntity
Modifier and Type | Class and Description |
---|---|
static class |
RelyingPartyIdentity.RelyingPartyIdentityBuilder |
Modifier and Type | Method and Description |
---|---|
static RelyingPartyIdentity.RelyingPartyIdentityBuilder.MandatoryStages |
builder() |
boolean |
equals(java.lang.Object o) |
@NonNull java.util.Optional<java.net.URL> |
getIcon()
A URL which resolves to an image associated with the entity.
|
@NonNull java.lang.String |
getId()
A unique identifier for the Relying Party, which sets the RP
ID.
|
@NonNull java.lang.String |
getName()
The human-palatable name of the Relaying Party.
|
int |
hashCode() |
RelyingPartyIdentity.RelyingPartyIdentityBuilder |
toBuilder() |
java.lang.String |
toString() |
public static RelyingPartyIdentity.RelyingPartyIdentityBuilder.MandatoryStages builder()
public RelyingPartyIdentity.RelyingPartyIdentityBuilder toBuilder()
@NonNull public @NonNull java.lang.String getId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
@NonNull public @NonNull java.lang.String getName()
For example: "ACME Corporation", "Wonderful Widgets, Inc." or "ОАО Примертех".
getName
in interface PublicKeyCredentialEntity
@NonNull public @NonNull java.util.Optional<java.net.URL> getIcon()
This URL MUST be an a priori authenticated URL. Authenticators MUST accept and store a 128-byte minimum length for an icon member’s value. Authenticators MAY ignore an icon member’s value if its length is greater than 128 bytes. The URL’s scheme MAY be "data" to avoid fetches of the URL, at the cost of needing more storage.
getIcon
in interface PublicKeyCredentialEntity