Class DID
- java.lang.Object
-
- org.hyperledger.acy_py.generated.model.DID
-
public class DID extends Object
DID
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDID.DIDBuilderstatic classDID.KeyTypeEnumKey type associated with the DIDstatic classDID.MethodEnumDid method associated with the DIDstatic classDID.PostureEnumWhether DID is current public DID, posted to ledger but not current public DID, or local to the wallet
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DIDstatic StringSERIALIZED_NAME_KEY_TYPEstatic StringSERIALIZED_NAME_METHODstatic StringSERIALIZED_NAME_POSTUREstatic StringSERIALIZED_NAME_VERKEY
-
Constructor Summary
Constructors Constructor Description DID()DID(String did, DID.KeyTypeEnum keyType, DID.MethodEnum method, DID.PostureEnum posture, String verkey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DID.DIDBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetDid()DID.KeyTypeEnumgetKeyType()DID.MethodEnumgetMethod()DID.PostureEnumgetPosture()StringgetVerkey()inthashCode()voidsetDid(String did)voidsetKeyType(DID.KeyTypeEnum keyType)voidsetMethod(DID.MethodEnum method)voidsetPosture(DID.PostureEnum posture)voidsetVerkey(String verkey)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_DID
public static final String SERIALIZED_NAME_DID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KEY_TYPE
public static final String SERIALIZED_NAME_KEY_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METHOD
public static final String SERIALIZED_NAME_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POSTURE
public static final String SERIALIZED_NAME_POSTURE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERKEY
public static final String SERIALIZED_NAME_VERKEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DID
public DID(String did, DID.KeyTypeEnum keyType, DID.MethodEnum method, DID.PostureEnum posture, String verkey)
-
DID
public DID()
-
-
Method Detail
-
builder
public static DID.DIDBuilder builder()
-
getDid
public String getDid()
-
getKeyType
public DID.KeyTypeEnum getKeyType()
-
getMethod
public DID.MethodEnum getMethod()
-
getPosture
public DID.PostureEnum getPosture()
-
getVerkey
public String getVerkey()
-
setDid
public void setDid(String did)
-
setKeyType
public void setKeyType(DID.KeyTypeEnum keyType)
-
setMethod
public void setMethod(DID.MethodEnum method)
-
setPosture
public void setPosture(DID.PostureEnum posture)
-
setVerkey
public void setVerkey(String verkey)
-
canEqual
protected boolean canEqual(Object other)
-
-