Package org.eclipse.osgi.signedcontent
Interface SignerInfo
-
public interface SignerInfoASignerInfoobject represents a single signer chain.This interface is not intended to be implemented by clients.
- Since:
- 3.4
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Certificate[]getCertificateChain()Returns the certificate chainStringgetMessageDigestAlgorithm()Returns theMessageDigestalgorithm used to verify content signed by this signer info.CertificategetTrustAnchor()Returns the certificate trust anchor used to establish authenticity.booleanisTrusted()Returns true if the trust anchor has been authenticated.
-
-
-
Method Detail
-
getCertificateChain
Certificate[] getCertificateChain()
Returns the certificate chain- Returns:
- the certificate chain
-
getTrustAnchor
Certificate getTrustAnchor()
Returns the certificate trust anchor used to establish authenticity. If authenticity cannot be established thennullis returned.- Returns:
- the trust anchor
-
isTrusted
boolean isTrusted()
Returns true if the trust anchor has been authenticated. This is a convenience method equivalent to callinggetTrustAnchor()!= null- Returns:
- true if the the signer info is trusted
-
getMessageDigestAlgorithm
String getMessageDigestAlgorithm()
Returns theMessageDigestalgorithm used to verify content signed by this signer info.- Returns:
- the algorithm
-
-