Class Signed<T>
- java.lang.Object
-
- network.oxalis.vefa.peppol.common.model.Signed<T>
-
- All Implemented Interfaces:
Serializable,PotentiallySigned<T>
public class Signed<T> extends Object implements PotentiallySigned<T>, Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)X509CertificategetCertificate()TgetContent()DategetTimestamp()inthashCode()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)StringtoString()
-
-
-
Method Detail
-
of
public static <T> Signed<T> of(T content, X509Certificate certificate, Date timestamp)
-
of
public static <T> Signed<T> of(T content, X509Certificate certificate)
-
getContent
public T getContent()
- Specified by:
getContentin interfacePotentiallySigned<T>
-
ofSubset
public <S> Signed<S> ofSubset(S s)
- Specified by:
ofSubsetin interfacePotentiallySigned<T>
-
getCertificate
public X509Certificate getCertificate()
-
getTimestamp
public Date getTimestamp()
-
-