KeyPair to generate the identity signature
| Modifier and Type | Field and Description |
|---|---|
| private final KeyPair | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | KeyPairIdentity(SignatureFactoriesManager primary, SignatureFactoriesManager secondary, KeyPair pair)
|
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | |
| public List | |
| public Map. | sign(SessionContext
The session, String SessionContext for calling this method - may be null if not called within a
session contextRecommended signature algorithm - if algo, byte[] null/empty then one will be selected based on the
key type and/or signature factoriesNote even if specific algorithm specified, the implementation may disregard and choose another Data to sign data)Implements org. Proves the public key identity by signing the given data |
| public String |
| pair | back to summary |
|---|---|
| private final KeyPair pair | |
| signatureFactories | back to summary |
|---|---|
| private final List<NamedFactory<Signature>> signatureFactories | |
| KeyPairIdentity | back to summary |
|---|---|
| public KeyPairIdentity(SignatureFactoriesManager primary, SignatureFactoriesManager secondary, KeyPair pair) | |
| getKeyIdentity | back to summary |
|---|---|
| public KeyPair getKeyIdentity() Implements org.
| |
| getSignatureFactories | back to summary |
|---|---|
| public List Implements org.
| |
| sign | back to summary |
|---|---|
| public Map. Implements org. Doc from org. Proves the public key identity by signing the given data
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |