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) throws CothorityCryptoException
CothorityCryptoExceptionpublic static Identity New(Signer signer) throws CothorityCryptoException
signer - CothorityCryptoExceptionpublic static Identity New(Darc darc) throws CothorityCryptoException
darc - CothorityCryptoExceptionCopyright © 2018. All rights reserved.