public final class ASN1Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.bouncycastle.asn1.ASN1Primitive> |
as(Class<T> type,
org.bouncycastle.asn1.ASN1InputStream stream) |
static <T extends org.bouncycastle.asn1.ASN1Primitive> |
as(Class<T> type,
org.bouncycastle.asn1.ASN1TaggedObject tagged) |
static <T extends org.bouncycastle.asn1.ASN1Primitive> |
as(Class<T> type,
org.bouncycastle.asn1.DLSequence sequence,
int index) |
static <T> T |
as(Class<T> type,
Enumeration<?> enumeration) |
static <T> T |
as(Class<T> type,
Object object) |
public static <T> T as(Class<T> type, Object object) throws PACDecodingException
type - object - PACDecodingExceptionpublic static <T> T as(Class<T> type, Enumeration<?> enumeration) throws PACDecodingException
type - enumeration - PACDecodingExceptionpublic static <T extends org.bouncycastle.asn1.ASN1Primitive> T as(Class<T> type, org.bouncycastle.asn1.ASN1InputStream stream) throws PACDecodingException, IOException
type - stream - PACDecodingExceptionIOExceptionpublic static <T extends org.bouncycastle.asn1.ASN1Primitive> T as(Class<T> type, org.bouncycastle.asn1.ASN1TaggedObject tagged) throws PACDecodingException
type - tagged - PACDecodingExceptionpublic static <T extends org.bouncycastle.asn1.ASN1Primitive> T as(Class<T> type, org.bouncycastle.asn1.DLSequence sequence, int index) throws PACDecodingException
type - sequence - index - PACDecodingExceptionCopyright © 2023. All rights reserved.