net.ripe.rpki.commons.provisioning.cms
Class ProvisioningCmsObject
java.lang.Object
net.ripe.rpki.commons.provisioning.cms.ProvisioningCmsObject
public class ProvisioningCmsObject
- extends Object
ProvisioningCmsObject
public ProvisioningCmsObject(byte[] encodedContent,
X509Certificate cmsCertificate,
Collection<X509Certificate> caCertificates,
X509CRL crl,
AbstractProvisioningPayload payload)
getEncoded
public byte[] getEncoded()
getCmsCertificate
public X509Certificate getCmsCertificate()
getPayload
public AbstractProvisioningPayload getPayload()
getCaCertificates
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.
getCrl
public X509CRL getCrl()
getSigningTime
public 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
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2008-2012 RIPE NCC, the Netherlands. All Rights Reserved.