public class PKCS7SignatureInput<T> extends Object
Constructor and Description |
---|
PKCS7SignatureInput() |
PKCS7SignatureInput(byte[] bytes)
PKS Encoded bytes
|
PKCS7SignatureInput(org.bouncycastle.cms.CMSSignedData data) |
PKCS7SignatureInput(String base64)
Base64 encoded pks bytes.
|
Modifier and Type | Method and Description |
---|---|
Annotation[] |
getAnnotations() |
X509Certificate |
getCertificate() |
org.bouncycastle.cms.CMSSignedData |
getData() |
<T2> T2 |
getEntity(Class<T2> type,
javax.ws.rs.core.MediaType mediaType) |
<T2> T2 |
getEntity(Class<T2> t,
Type gt,
Annotation[] ann,
javax.ws.rs.core.MediaType mediaType) |
<T2> T2 |
getEntity(javax.ws.rs.core.GenericType<T2> gt,
Annotation[] ann,
javax.ws.rs.core.MediaType mediaType) |
<T2> T2 |
getEntity(javax.ws.rs.core.GenericType<T2> gt,
javax.ws.rs.core.MediaType mediaType) |
T |
getEntity(javax.ws.rs.core.MediaType mediaType) |
Type |
getGenericType() |
javax.ws.rs.ext.Providers |
getProviders() |
PublicKey |
getPublicKey() |
Class<?> |
getType() |
void |
setAnnotations(Annotation[] annotations) |
void |
setCertificate(X509Certificate certificate) |
void |
setData(org.bouncycastle.cms.CMSSignedData data) |
void |
setGenericType(Type genericType) |
void |
setProviders(javax.ws.rs.ext.Providers providers) |
void |
setPublicKey(PublicKey publicKey) |
void |
setType(Class<?> type) |
void |
setType(javax.ws.rs.core.GenericType<?> type) |
boolean |
verify() |
boolean |
verify(PublicKey publicKey) |
boolean |
verify(X509Certificate certificate) |
public PKCS7SignatureInput()
public PKCS7SignatureInput(org.bouncycastle.cms.CMSSignedData data)
public PKCS7SignatureInput(String base64)
base64
- Base64 encoded stringpublic PKCS7SignatureInput(byte[] bytes)
bytes
- datapublic 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(javax.ws.rs.core.GenericType<?> type)
public Type getGenericType()
public void setGenericType(Type genericType)
public org.bouncycastle.cms.CMSSignedData getData()
public void setData(org.bouncycastle.cms.CMSSignedData data)
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 T getEntity(javax.ws.rs.core.MediaType mediaType)
public <T2> T2 getEntity(Class<T2> type, javax.ws.rs.core.MediaType mediaType)
public <T2> T2 getEntity(javax.ws.rs.core.GenericType<T2> gt, javax.ws.rs.core.MediaType mediaType)
public <T2> T2 getEntity(javax.ws.rs.core.GenericType<T2> gt, Annotation[] ann, javax.ws.rs.core.MediaType mediaType)
public <T2> T2 getEntity(Class<T2> t, Type gt, Annotation[] ann, javax.ws.rs.core.MediaType mediaType)
public boolean verify(X509Certificate certificate) throws Exception
Exception
Copyright © 2019 JBoss by Red Hat. All rights reserved.