public class ProvisioningCmsObject extends Object
| Constructor and Description |
|---|
ProvisioningCmsObject(byte[] encodedContent,
X509Certificate cmsCertificate,
Collection<X509Certificate> caCertificates,
X509CRL crl,
AbstractProvisioningPayload payload) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Collection<X509Certificate> |
getCaCertificates()
ProvisioningCMSObjects may optionally contain a number of CA certificates.
|
X509Certificate |
getCmsCertificate() |
X509CRL |
getCrl() |
byte[] |
getEncoded() |
AbstractProvisioningPayload |
getPayload() |
org.joda.time.DateTime |
getSigningTime()
This is used to check against replay attacks, see http://tools.ietf.org/html/draft-ietf-sidr-rescerts-provisioning-09#section-3.1.2
|
int |
hashCode() |
public ProvisioningCmsObject(byte[] encodedContent,
X509Certificate cmsCertificate,
Collection<X509Certificate> caCertificates,
X509CRL crl,
AbstractProvisioningPayload payload)
public byte[] getEncoded()
public X509Certificate getCmsCertificate()
public AbstractProvisioningPayload getPayload()
public Collection<X509Certificate> getCaCertificates()
ProvisioningCMSObjects may optionally contain a number of CA certificates. As far as we know, no implementation is using this though. It is provided here for completeness but in all likelihood not needed.
Note: the validator expects to be given the direct (trusted) parent CA certificate to the EE certificate used to sign the CMS.public X509CRL getCrl()
public org.joda.time.DateTime getSigningTime()
Copyright © 2008–2019 RIPE Network Coordination Centre (RIPE NCC). All rights reserved.