net.ripe.rpki.commons.crypto.cms.roa
Class RoaCms
java.lang.Object
net.ripe.rpki.commons.crypto.cms.RpkiSignedObject
net.ripe.rpki.commons.crypto.cms.roa.RoaCms
- All Implemented Interfaces:
- Serializable, CertificateRepositoryObject, Roa
public class RoaCms
- extends RpkiSignedObject
- implements Roa
- See Also:
- Serialized Form
|
Field Summary |
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
CONTENT_TYPE
|
| Methods inherited from class net.ripe.rpki.commons.crypto.cms.RpkiSignedObject |
equals, getCertificate, getCertificateIssuer, getCertificateSubject, getContentType, getCrlUri, getEncoded, getNotValidAfter, getNotValidBefore, getSigningTime, getValidityPeriod, hashCode, isPastValidityTime, isRevoked, signedBy, validate |
CONTENT_TYPE
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier CONTENT_TYPE
RoaCms
protected RoaCms(RpkiSignedObjectInfo cmsObjectInfo,
net.ripe.ipresource.Asn asn,
List<RoaPrefix> prefixes)
getAsn
public net.ripe.ipresource.Asn getAsn()
- Specified by:
getAsn in interface Roa
getResources
public net.ripe.ipresource.IpResourceSet getResources()
getPrefixes
public List<RoaPrefix> getPrefixes()
- Specified by:
getPrefixes in interface Roa
getParentCertificateUri
public URI getParentCertificateUri()
- Specified by:
getParentCertificateUri in interface CertificateRepositoryObject
parseDerEncoded
public static RoaCms parseDerEncoded(byte[] encoded)
validateWithCrl
protected void validateWithCrl(String location,
CertificateRepositoryObjectValidationContext context,
ValidationOptions options,
ValidationResult result,
X509Crl crl)
- Specified by:
validateWithCrl in class RpkiSignedObject
Copyright © 2008-2015 RIPE NCC, the Netherlands. All Rights Reserved.