All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.oer.its.etsi103097.extension.EtsiTs102941DeltaCtlRequest Maven / Gradle / Ivy

Go to download

The Bouncy Castle Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls with the BC FIPS provider. The APIs may also be used with other providers although if being used in a FIPS context it is the responsibility of the user to ensure that any other providers used are FIPS certified and used appropriately.

The newest version!
package org.bouncycastle.oer.its.etsi103097.extension;

import org.bouncycastle.asn1.ASN1Integer;
import org.bouncycastle.asn1.ASN1Sequence;
import org.bouncycastle.oer.its.ieee1609dot2.basetypes.HashedId8;

/**
 * EtsiTs102941DeltaCtlRequest::= EtsiTs102941CtlRequest
 * and
 * EtsiTs102941CtlRequest::= SEQUENCE {
 * issuerId             HashedId8,
 * lastKnownCtlSequence INTEGER (0..255) OPTIONAL
 * }
 */
public class EtsiTs102941DeltaCtlRequest
    extends EtsiTs102941CtlRequest
{

    private EtsiTs102941DeltaCtlRequest(ASN1Sequence sequence)
    {
        super(sequence);
    }

    public EtsiTs102941DeltaCtlRequest(EtsiTs102941CtlRequest request)
    {
        super(request.getIssuerId(), request.getLastKnownCtlSequence());
    }

    public EtsiTs102941DeltaCtlRequest(HashedId8 issuerId, ASN1Integer lastKnownCtlSequence)
    {
        super(issuerId, lastKnownCtlSequence);
    }

    public static EtsiTs102941DeltaCtlRequest getInstance(Object o)
    {
        if (o instanceof EtsiTs102941DeltaCtlRequest)
        {
            return (EtsiTs102941DeltaCtlRequest)o;
        }

        if (o != null)
        {
            return new EtsiTs102941DeltaCtlRequest(ASN1Sequence.getInstance(o));
        }

        return null;

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy