Class Facade
Package: io.keychain.core
public class Facade extends java.lang.Object
Description
Facade
encapsulates the methods in common between Persona
and Contacts
for use in methods in other classes that can take either class. These classes provide basic information about the related Keychains
such as the maturity (blockchain confirmation) level of the two Keychains
and the base URI.
The distinction between a Persona
and a Contact
is that a Passport
stores the public and private keys for each Persona
whereas for Contacts
it only stores (and knows) the public keys of the Contact
as recorded on the blockchain. Methods for which this distinction is unimportant generally take Facade
as a parameter.
The information from the methods is a static snapshot of the state of the |
Since: v2.0
Public Member Functions
Return type | Method and Description |
---|---|
|
Gets the |
|
Gets the `Facade`name |
|
Gets the |
Gets the blockchain URI for the |
|
|
Whether the |
Gets the |
|
|
Whether the |
Public Member Functions Detail
getName
|
|
Returns the |
|
Returns: |
|
The |
getSubName
|
|
Returns the |
|
Returns: |
|
The |
getUri()
|
|
Returns the |
|
Returns: |
|
The |
isNull
|
|
Returns |
|
Returns: |
|
|