Class VerifiableCredentialAttributes
Object
se.curity.identityserver.sdk.attribute.Attributes
se.curity.identityserver.sdk.attribute.vc.w3c.VerifiableCredentialAttributes
- All Implemented Interfaces:
Iterable<Attribute>
,AttributeContainer<Attributes>
,SerializableAsMap
Set of attributes representing a verifiable credential (W3C data model).
- Since:
- 8.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
AttributeContainer.TypeConversionStrategy
-
Method Summary
Modifier and TypeMethodDescriptionof
(Attributes attributes) of
(MapAttributeValue mapAttributeValue) Add the given attribute if not present, or replace the attribute if it already exists.Methods inherited from class se.curity.identityserver.sdk.attribute.Attributes
append, append, asMap, contains, empty, equals, fromMap, fromMap, get, get, getAll, getMandatory, getMandatoryAttribute, getMandatoryValue, getMandatoryValue, getOptionalValue, getOptionalValue, getOptionalValue, getUniqueValuesOfType, getUniqueValuesOfType, getValuesOfType, getValuesOfType, hashCode, isEmpty, iterator, keys, of, of, of, of, of, of, of, removeAttributes, retainAttributes, size, stream, toMap, toMapWithoutMetadata, toString, with
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
contains, removeAttribute, retainAttribute
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
of
-
of
-
getCredentialSubject
-
with
Description copied from interface:AttributeContainer
Add the given attribute if not present, or replace the attribute if it already exists. Note that two attributes with the same name and different authorities are considered distinct.- Specified by:
with
in interfaceAttributeContainer<Attributes>
- Overrides:
with
in classAttributes
- Parameters:
attribute
- attribute to add or to override- Returns:
- a copy of this which contains the given Attribute
-