public class Signed<T> extends Object implements PotentiallySigned<T>, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
X509Certificate |
getCertificate() |
T |
getContent() |
Date |
getTimestamp() |
int |
hashCode() |
static <T> Signed<T> |
of(T content,
X509Certificate certificate) |
static <T> Signed<T> |
of(T content,
X509Certificate certificate,
Date timestamp) |
<S> Signed<S> |
ofSubset(S s) |
String |
toString() |
public static <T> Signed<T> of(T content, X509Certificate certificate, Date timestamp)
public static <T> Signed<T> of(T content, X509Certificate certificate)
public T getContent()
getContent in interface PotentiallySigned<T>public <S> Signed<S> ofSubset(S s)
ofSubset in interface PotentiallySigned<T>public X509Certificate getCertificate()
public Date getTimestamp()
Copyright © 2021 NorStella. All rights reserved.