Class Content
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.assurance.evidences.attachment.Content
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)com.nimbusds.jose.util.Base64getBase64()Returns the BASE64-encoded content.StringgetDescription()Returns the optional description.com.nimbusds.common.contenttype.ContentTypegetType()Returns the content type.inthashCode()
-
-
-
Constructor Detail
-
Content
public Content(com.nimbusds.common.contenttype.ContentType type, com.nimbusds.jose.util.Base64 base64, String description)
Creates a new content instance.- Parameters:
type- The content type. Must not benull.base64- The BASE64-encoded content. Must not benull.description- The optional description,nullif not specified.
-
-
Method Detail
-
getType
public com.nimbusds.common.contenttype.ContentType getType()
Returns the content type.- Returns:
- The content type.
-
getBase64
public com.nimbusds.jose.util.Base64 getBase64()
Returns the BASE64-encoded content.- Returns:
- The BASE64-encoded content.
-
getDescription
public String getDescription()
Returns the optional description.- Returns:
- The optional description,
nullif not specified.
-
-