Package org.wildfly.security.x500.cert
Class AccessDescription
- java.lang.Object
-
- org.wildfly.security.x500.cert.AccessDescription
-
- All Implemented Interfaces:
ASN1Encodable
public final class AccessDescription extends Object implements ASN1Encodable
An access description for the authority information access and subject information access extensions.- Author:
- Farah Juma
-
-
Field Summary
Fields Modifier and Type Field Description private GeneralName
accessLocation
private String
accessMethodId
-
Constructor Summary
Constructors Constructor Description AccessDescription(String accessMethodId, GeneralName accessLocation)
Construct a new instance.
-
-
-
Field Detail
-
accessMethodId
private final String accessMethodId
-
accessLocation
private final GeneralName accessLocation
-
-
Constructor Detail
-
AccessDescription
public AccessDescription(String accessMethodId, GeneralName accessLocation)
Construct a new instance.- Parameters:
accessMethodId
- the access method OID (must not benull
)accessLocation
- the access location (must not benull
)
-
-
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
)
-
-