パッケージ jcifs.pac
クラス ASN1Util
- java.lang.Object
-
- jcifs.pac.ASN1Util
-
public final class ASN1Util extends Object
-
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static <T> Tas(Class<T> type, Object object)static <T> Tas(Class<T> type, Enumeration<?> enumeration)static <T extends org.bouncycastle.asn1.ASN1Primitive>
Tas(Class<T> type, org.bouncycastle.asn1.ASN1InputStream stream)static <T extends org.bouncycastle.asn1.ASN1Primitive>
Tas(Class<T> type, org.bouncycastle.asn1.ASN1TaggedObject tagged)static <T extends org.bouncycastle.asn1.ASN1Primitive>
Tas(Class<T> type, org.bouncycastle.asn1.DLSequence sequence, int index)
-
-
-
メソッドの詳細
-
as
public static <T> T as(Class<T> type, Object object) throws PACDecodingException
- パラメータ:
type-object-- 戻り値:
- object cast to type
- 例外:
PACDecodingException
-
as
public static <T> T as(Class<T> type, Enumeration<?> enumeration) throws PACDecodingException
- パラメータ:
type-enumeration-- 戻り値:
- next element from enumeration cast to type
- 例外:
PACDecodingException
-
as
public static <T extends org.bouncycastle.asn1.ASN1Primitive> T as(Class<T> type, org.bouncycastle.asn1.ASN1InputStream stream) throws PACDecodingException, IOException
- パラメータ:
type-stream-- 戻り値:
- next object from stream cast to type
- 例外:
PACDecodingExceptionIOException
-
as
public static <T extends org.bouncycastle.asn1.ASN1Primitive> T as(Class<T> type, org.bouncycastle.asn1.ASN1TaggedObject tagged) throws PACDecodingException
- パラメータ:
type-tagged-- 戻り値:
- tagged object contents cast to type
- 例外:
PACDecodingException
-
as
public static <T extends org.bouncycastle.asn1.ASN1Primitive> T as(Class<T> type, org.bouncycastle.asn1.DLSequence sequence, int index) throws PACDecodingException
- パラメータ:
type-sequence-index-- 戻り値:
- sequence element cast to type
- 例外:
PACDecodingException
-
-