net.ripe.rpki.commons.crypto.x509cert
Class X509ResourceCertificate
java.lang.Object
net.ripe.rpki.commons.crypto.x509cert.AbstractX509CertificateWrapper
net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificate
- All Implemented Interfaces:
- Serializable, CertificateRepositoryObject
public class X509ResourceCertificate
- extends AbstractX509CertificateWrapper
- implements CertificateRepositoryObject
Wraps a X509 certificate containing RFC3779 resource extensions.
- See Also:
- Serialized Form
| Methods inherited from class net.ripe.rpki.commons.crypto.x509cert.AbstractX509CertificateWrapper |
equals, findFirstAuthorityInformationAccessByMethod, findFirstRsyncCrlDistributionPoint, findFirstSubjectInformationAccessByMethod, getAuthorityInformationAccess, getAuthorityKeyIdentifier, getCertificate, getCertificatePolicy, getCrlDistributionPoints, getEncoded, getIssuer, getManifestUri, getPublicKey, getRepositoryUri, getSerialNumber, getSubject, getSubjectInformationAccess, getSubjectKeyIdentifier, getValidityPeriod, hashCode, isCa, isEe, isObjectIssuer, isRoot, toString, verify |
X509ResourceCertificate
protected X509ResourceCertificate(X509Certificate certificate)
getResources
public net.ripe.ipresource.IpResourceSet getResources()
getInheritedResourceTypes
public EnumSet<net.ripe.ipresource.IpResourceType> getInheritedResourceTypes()
isResourceTypesInherited
public boolean isResourceTypesInherited(EnumSet<net.ripe.ipresource.IpResourceType> resourceTypes)
isResourceSetInherited
public boolean isResourceSetInherited()
getCrlUri
public URI getCrlUri()
- Specified by:
getCrlUri in interface CertificateRepositoryObject
getParentCertificateUri
public URI getParentCertificateUri()
- Specified by:
getParentCertificateUri in interface CertificateRepositoryObject
validate
public void validate(String location,
X509ResourceCertificateValidator validator)
validate
public void validate(String location,
CertificateRepositoryObjectValidationContext context,
CrlLocator crlLocator,
ValidationOptions options,
ValidationResult result)
- Specified by:
validate in interface CertificateRepositoryObject
deriveResources
public net.ripe.ipresource.IpResourceSet deriveResources(net.ripe.ipresource.IpResourceSet parentResources)
Copyright © 2008-2013 RIPE NCC, the Netherlands. All Rights Reserved.