Package org.wildfly.security.x500.cert
Class CRLDistributionPoint
- java.lang.Object
-
- org.wildfly.security.x500.cert.CRLDistributionPoint
-
- All Implemented Interfaces:
ASN1Encodable
public final class CRLDistributionPoint extends Object implements ASN1Encodable
A single distribution point specification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CRLDistributionPoint.DistributionPointName
Base class of distribution point names.static class
CRLDistributionPoint.FullNameDistributionPointName
A full-name distribution point name.static class
CRLDistributionPoint.RelativeToCRLIssuerDistributionPointName
A distribution point name which is relative to a CRL issuer name.
-
Field Summary
Fields Modifier and Type Field Description private List<GeneralName>
crlIssuer
private CRLDistributionPoint.DistributionPointName
distributionPoint
private EnumSet<CRLReason>
reasons
-
Constructor Summary
Constructors Constructor Description CRLDistributionPoint(CRLDistributionPoint.DistributionPointName distributionPoint, EnumSet<CRLReason> reasons, List<GeneralName> crlIssuer)
Construct a new instance.
-
-
-
Field Detail
-
distributionPoint
private final CRLDistributionPoint.DistributionPointName distributionPoint
-
crlIssuer
private final List<GeneralName> crlIssuer
-
-
Constructor Detail
-
CRLDistributionPoint
public CRLDistributionPoint(CRLDistributionPoint.DistributionPointName distributionPoint, EnumSet<CRLReason> reasons, List<GeneralName> crlIssuer)
Construct a new instance.- Parameters:
distributionPoint
- the distribution point, ornull
for nonereasons
- the reason flags, ornull
if unspecifiedcrlIssuer
- the CRL issuer, ornull
for none
-
-
Method Detail
-
encodeTo
public void encodeTo(ASN1Encoder encoder)
Description copied from interface:ASN1Encodable
Encode this object.- Specified by:
encodeTo
in interfaceASN1Encodable
- Parameters:
encoder
- the encoder (must not benull
)
-
-