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

org.bouncycastle.oer.its.etsi103097.EtsiTs103097Data 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.

There is a newer version: 2.0.3
Show newest version
package org.bouncycastle.oer.its.etsi103097;

import org.bouncycastle.asn1.ASN1Sequence;
import org.bouncycastle.oer.its.ieee1609dot2.Ieee1609Dot2Content;
import org.bouncycastle.oer.its.ieee1609dot2.Ieee1609Dot2Data;
import org.bouncycastle.oer.its.ieee1609dot2.basetypes.UINT8;

/**
 * EtsiTs103097Data::=Ieee1609Dot2Data (WITH COMPONENTS {...,
 * content (WITH COMPONENTS {...,
 * signedData (WITH COMPONENTS {..., -- constraints on signed data headers
 * tbsData (WITH COMPONENTS {
 * headerInfo (WITH COMPONENTS {...,
 * generationTime PRESENT,
 * p2pcdLearningRequest ABSENT,
 * missingCrlIdentifier ABSENT
 * })
 * }),
 * signer (WITH COMPONENTS {...,  --constraints on the certificate
 * certificate ((WITH COMPONENT (EtsiTs103097Certificate))^(SIZE(1)))
 * })
 * }),
 * encryptedData (WITH COMPONENTS {..., -- constraints on encrypted data headers
 * recipients  (WITH COMPONENT (
 * (WITH COMPONENTS {...,
 * pskRecipInfo ABSENT,
 * symmRecipInfo ABSENT,
 * rekRecipInfo ABSENT
 * })
 * ))
 * }),
 * signedCertificateRequest ABSENT
 * })
 * })
 */
public class EtsiTs103097Data
    extends Ieee1609Dot2Data
{

    public EtsiTs103097Data(Ieee1609Dot2Content content)
    {
        super(new UINT8(3), content);
    }

    public EtsiTs103097Data(UINT8 protocolVersion, Ieee1609Dot2Content content)
    {
        super(protocolVersion, content);
    }

    protected EtsiTs103097Data(ASN1Sequence src)
    {
        super(src);
    }

    public static EtsiTs103097Data getInstance(Object o)
    {
        if (o instanceof EtsiTs103097Data)
        {
            return (EtsiTs103097Data)o;
        }
        if (o != null)
        {
            return new EtsiTs103097Data(ASN1Sequence.getInstance(o));
        }
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy