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 boolean
equals(Object o)
com.nimbusds.jose.util.Base64
getBase64()
Returns the BASE64-encoded content.String
getDescription()
Returns the optional description.com.nimbusds.common.contenttype.ContentType
getType()
Returns the content type.int
hashCode()
-
-
-
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,null
if 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,
null
if not specified.
-
-