public class IdentityFactory extends Object
| Constructor and Description |
|---|
IdentityFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Identity |
New(Darc darc)
Creates the corresponding identity to a darc.
|
static Identity |
New(DarcProto.Identity proto)
Returns an instantiated identity that is stored in proto.
|
static Identity |
New(Signer signer)
Creates the corresponding identity to a signer.
|
public static Identity New(DarcProto.Identity proto)
proto - the protobuf form of the Identitypublic static Identity New(Signer signer)
signer - the input signerCopyright © 2019. All rights reserved.