Class 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
    • Constructor Detail

      • AccessDescription

        public AccessDescription​(String accessMethodId,
                                 GeneralName accessLocation)
        Construct a new instance.
        Parameters:
        accessMethodId - the access method OID (must not be null)
        accessLocation - the access location (must not be null)
    • Method Detail

      • encodeTo

        public void encodeTo​(ASN1Encoder encoder)
        Description copied from interface: ASN1Encodable
        Encode this object.
        Specified by:
        encodeTo in interface ASN1Encodable
        Parameters:
        encoder - the encoder (must not be null)