org.bouncycastle.oer.its.etsi103097.extension.EtsiTs102941DeltaCtlRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcutil-jdk18on Show documentation
Show all versions of bcutil-jdk18on Show documentation
The Bouncy Castle Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls. This jar contains APIs for JDK 1.8 and up.
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;
}
}