public class SignedInputImpl extends Object implements SignedInput
Constructor and Description |
---|
SignedInputImpl() |
Modifier and Type | Method and Description |
---|---|
Annotation[] |
getAnnotations() |
javax.mail.internet.MimeMultipart |
getBody() |
X509Certificate |
getCertificate() |
Object |
getEntity() |
Object |
getEntity(Class type) |
Object |
getEntity(Class t,
Type gt,
Annotation[] ann) |
Object |
getEntity(GenericType gt) |
Object |
getEntity(GenericType gt,
Annotation[] ann) |
Type |
getGenericType() |
javax.ws.rs.ext.Providers |
getProviders() |
PublicKey |
getPublicKey() |
Class |
getType() |
void |
setAnnotations(Annotation[] annotations) |
void |
setBody(javax.mail.internet.MimeMultipart body) |
void |
setCertificate(X509Certificate certificate) |
void |
setGenericType(Type genericType) |
void |
setProviders(javax.ws.rs.ext.Providers providers) |
void |
setPublicKey(PublicKey publicKey) |
void |
setType(Class type) |
void |
setType(GenericType type) |
boolean |
verify() |
boolean |
verify(PublicKey publicKey) |
boolean |
verify(X509Certificate certificate) |
public PublicKey getPublicKey()
public void setPublicKey(PublicKey publicKey)
public X509Certificate getCertificate()
public void setCertificate(X509Certificate certificate)
public Class getType()
public void setType(Class type)
public void setType(GenericType type)
public Type getGenericType()
public void setGenericType(Type genericType)
public javax.mail.internet.MimeMultipart getBody()
public void setBody(javax.mail.internet.MimeMultipart body)
public Annotation[] getAnnotations()
public void setAnnotations(Annotation[] annotations)
public javax.ws.rs.ext.Providers getProviders()
public void setProviders(javax.ws.rs.ext.Providers providers)
public Object getEntity()
getEntity
in interface SignedInput
public Object getEntity(Class type)
getEntity
in interface SignedInput
public Object getEntity(GenericType gt)
getEntity
in interface SignedInput
public Object getEntity(GenericType gt, Annotation[] ann)
public Object getEntity(Class t, Type gt, Annotation[] ann)
public boolean verify() throws Exception
verify
in interface SignedInput
Exception
public boolean verify(X509Certificate certificate) throws org.bouncycastle.cms.CMSException, javax.mail.MessagingException, org.bouncycastle.operator.OperatorCreationException
verify
in interface SignedInput
org.bouncycastle.cms.CMSException
javax.mail.MessagingException
org.bouncycastle.operator.OperatorCreationException
public boolean verify(PublicKey publicKey) throws org.bouncycastle.cms.CMSException, javax.mail.MessagingException, org.bouncycastle.operator.OperatorCreationException
verify
in interface SignedInput
org.bouncycastle.cms.CMSException
javax.mail.MessagingException
org.bouncycastle.operator.OperatorCreationException
Copyright © 2016. All rights reserved.