Package net.corda.v5.application.crypto
Class DigitalSignatureMetadata
-
- All Implemented Interfaces:
public final class DigitalSignatureMetadata
Metadata attached to a signature.
The use of this metadata is decided by API layers above application. For example, the ledger implementation may populate some properties when transaction signatures are requested.
Note that the metadata itself is not signed over.
-
-
Field Summary
Fields Modifier and Type Field Description public final Instant
timestamp
public final SignatureSpec
signatureSpec
public final Map<String, String>
properties
-
Constructor Summary
Constructors Constructor Description DigitalSignatureMetadata(Instant timestamp, SignatureSpec signatureSpec, Map<String, String> properties)
-
Method Summary
Modifier and Type Method Description Instant
getTimestamp()
SignatureSpec
getSignatureSpec()
Map<String, String>
getProperties()
boolean
equals(@Nullable() Object obj)
int
hashCode()
String
toString()
-
-
Constructor Detail
-
DigitalSignatureMetadata
DigitalSignatureMetadata(Instant timestamp, SignatureSpec signatureSpec, Map<String, String> properties)
- Parameters:
timestamp
- The timestamp at which the signature was applied.signatureSpec
- The signature spec.properties
- A set of properties for this signature.
-
-
Method Detail
-
getTimestamp
@NotNull() Instant getTimestamp()
-
getSignatureSpec
@NotNull() SignatureSpec getSignatureSpec()
-
getProperties
@NotNull() Map<String, String> getProperties()
-
hashCode
int hashCode()
-
-
-
-