Searched defs:obj (Results 226 - 250 of 1383) sorted by relevance

1234567891011>>

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1OctetString.java19 * @param obj the tagged object holding the object we want.
26 ASN1TaggedObject obj,
29 ASN1Primitive o = obj.getObject();
44 * @param obj the object we want converted.
48 Object obj)
50 if (obj == null || obj instanceof ASN1OctetString)
52 return (ASN1OctetString)obj;
54 else if (obj instanceof byte[])
58 return ASN1OctetString.getInstance(ASN1Primitive.fromByteArray((byte[])obj));
25 getInstance( ASN1TaggedObject obj, boolean explicit) argument
47 getInstance( Object obj) argument
[all...]
H A DDERBMPString.java19 * @param obj the object we want converted.
23 Object obj)
25 if (obj == null || obj instanceof DERBMPString)
27 return (DERBMPString)obj;
30 if (obj instanceof byte[])
34 return (DERBMPString)fromByteArray((byte[])obj);
42 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
48 * @param obj the tagged object holding the object we want
55 ASN1TaggedObject obj,
22 getInstance( Object obj) argument
54 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
H A DDEREnumerated.java22 Object obj)
24 if (obj == null || obj instanceof ASN1Enumerated)
26 return (ASN1Enumerated)obj;
29 if (obj instanceof DEREnumerated)
31 return new ASN1Enumerated(((DEREnumerated)obj).getValue());
34 if (obj instanceof byte[])
38 return (ASN1Enumerated)fromByteArray((byte[])obj);
46 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
52 * @param obj th
21 getInstance( Object obj) argument
58 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
H A DDERGeneralString.java15 Object obj)
17 if (obj == null || obj instanceof DERGeneralString)
19 return (DERGeneralString) obj;
22 if (obj instanceof byte[])
26 return (DERGeneralString)fromByteArray((byte[])obj);
35 + obj.getClass().getName());
39 ASN1TaggedObject obj,
42 ASN1Primitive o = obj.getObject();
14 getInstance( Object obj) argument
38 getInstance( ASN1TaggedObject obj, boolean explicit) argument
H A DDERInteger.java22 Object obj)
24 if (obj == null || obj instanceof ASN1Integer)
26 return (ASN1Integer)obj;
28 if (obj instanceof DERInteger)
30 return new ASN1Integer((((DERInteger)obj).getValue()));
33 if (obj instanceof byte[])
37 return (ASN1Integer)fromByteArray((byte[])obj);
45 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
51 * @param obj th
21 getInstance( Object obj) argument
57 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
H A DDERT61String.java24 Object obj)
26 if (obj == null || obj instanceof DERT61String)
28 return (DERT61String)obj;
31 if (obj instanceof byte[])
35 return (DERT61String)fromByteArray((byte[])obj);
43 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
49 * @param obj the tagged object holding the object we want
56 ASN1TaggedObject obj,
59 ASN1Primitive o = obj
23 getInstance( Object obj) argument
55 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
H A DDERUTCTime.java26 Object obj)
28 if (obj == null || obj instanceof ASN1UTCTime)
30 return (ASN1UTCTime)obj;
33 if (obj instanceof DERUTCTime)
35 return new ASN1UTCTime(((DERUTCTime)obj).time);
38 if (obj instanceof byte[])
42 return (ASN1UTCTime)fromByteArray((byte[])obj);
50 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
56 * @param obj th
25 getInstance( Object obj) argument
62 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
H A DDERUTF8String.java23 public static DERUTF8String getInstance(Object obj) argument
25 if (obj == null || obj instanceof DERUTF8String)
27 return (DERUTF8String)obj;
30 if (obj instanceof byte[])
34 return (DERUTF8String)fromByteArray((byte[])obj);
43 + obj.getClass().getName());
49 * @param obj
58 ASN1TaggedObject obj,
61 ASN1Primitive o = obj
57 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
H A DDERUniversalString.java24 Object obj)
26 if (obj == null || obj instanceof DERUniversalString)
28 return (DERUniversalString)obj;
31 if (obj instanceof byte[])
35 return (DERUniversalString)fromByteArray((byte[])obj);
43 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
49 * @param obj the tagged object holding the object we want
56 ASN1TaggedObject obj,
59 ASN1Primitive o = obj
23 getInstance( Object obj) argument
55 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
H A DDERVisibleString.java23 Object obj)
25 if (obj == null || obj instanceof DERVisibleString)
27 return (DERVisibleString)obj;
30 if (obj instanceof byte[])
34 return (DERVisibleString)fromByteArray((byte[])obj);
42 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
48 * @param obj the tagged object holding the object we want
55 ASN1TaggedObject obj,
58 ASN1Primitive o = obj
22 getInstance( Object obj) argument
54 getInstance( ASN1TaggedObject obj, boolean explicit) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DCertificationRequestInfo.java42 Object obj)
44 if (obj instanceof CertificationRequestInfo)
46 return (CertificationRequestInfo)obj;
48 else if (obj != null)
50 return new CertificationRequestInfo(ASN1Sequence.getInstance(obj));
41 getInstance( Object obj) argument
H A DEncryptedData.java42 Object obj)
44 if (obj instanceof EncryptedData)
46 return (EncryptedData)obj;
49 if (obj != null)
51 return new EncryptedData(ASN1Sequence.getInstance(obj));
41 getInstance( Object obj) argument
H A DPBKDF2Params.java42 * @param obj either PBKDF2Params or an ASN2Sequence.
46 Object obj)
48 if (obj instanceof PBKDF2Params)
50 return (PBKDF2Params)obj;
53 if (obj != null)
55 return new PBKDF2Params(ASN1Sequence.getInstance(obj));
45 getInstance( Object obj) argument
H A DPrivateKeyInfo.java30 ASN1TaggedObject obj,
33 return getInstance(ASN1Sequence.getInstance(obj, explicit));
37 Object obj)
39 if (obj instanceof PrivateKeyInfo)
41 return (PrivateKeyInfo)obj;
43 else if (obj != null)
45 return new PrivateKeyInfo(ASN1Sequence.getInstance(obj));
29 getInstance( ASN1TaggedObject obj, boolean explicit) argument
36 getInstance( Object obj) argument
H A DRSAESOAEPparams.java27 Object obj)
29 if (obj instanceof RSAESOAEPparams)
31 return (RSAESOAEPparams)obj;
33 else if (obj != null)
35 return new RSAESOAEPparams(ASN1Sequence.getInstance(obj));
26 getInstance( Object obj) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DECPrivateKey.java35 Object obj)
37 if (obj instanceof ECPrivateKey)
39 return (ECPrivateKey)obj;
42 if (obj != null)
44 return new ECPrivateKey(ASN1Sequence.getInstance(obj));
118 ASN1Encodable obj = (ASN1Encodable)e.nextElement();
120 if (obj instanceof ASN1TaggedObject)
122 ASN1TaggedObject tag = (ASN1TaggedObject)obj;
34 getInstance( Object obj) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
H A DRDN.java22 public static RDN getInstance(Object obj) argument
24 if (obj instanceof RDN)
26 return (RDN)obj;
28 else if (obj != null)
30 return new RDN(ASN1Set.getInstance(obj));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DBasicConstraints.java22 ASN1TaggedObject obj,
25 return getInstance(ASN1Sequence.getInstance(obj, explicit));
29 Object obj)
31 if (obj instanceof BasicConstraints)
33 return (BasicConstraints)obj;
35 if (obj instanceof X509Extension)
37 return getInstance(X509Extension.convertValueToObject((X509Extension)obj));
39 if (obj != null)
41 return new BasicConstraints(ASN1Sequence.getInstance(obj));
21 getInstance( ASN1TaggedObject obj, boolean explicit) argument
28 getInstance( Object obj) argument
H A DDistributionPointName.java31 ASN1TaggedObject obj,
34 return getInstance(ASN1TaggedObject.getInstance(obj, true));
38 Object obj)
40 if (obj == null || obj instanceof DistributionPointName)
42 return (DistributionPointName)obj;
44 else if (obj instanceof ASN1TaggedObject)
46 return new DistributionPointName((ASN1TaggedObject)obj);
49 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
87 ASN1TaggedObject obj)
30 getInstance( ASN1TaggedObject obj, boolean explicit) argument
37 getInstance( Object obj) argument
86 DistributionPointName( ASN1TaggedObject obj) argument
[all...]
H A DExtendedKeyUsage.java31 * @param obj the tagged object containing the ExtendedKeyUsage
36 ASN1TaggedObject obj,
39 return getInstance(ASN1Sequence.getInstance(obj, explicit));
45 * @param obj an ExtendedKeyUsage, some form or encoding of one, or null.
49 Object obj)
51 if (obj instanceof ExtendedKeyUsage)
53 return (ExtendedKeyUsage)obj;
55 else if (obj != null)
57 return new ExtendedKeyUsage(ASN1Sequence.getInstance(obj));
35 getInstance( ASN1TaggedObject obj, boolean explicit) argument
48 getInstance( Object obj) argument
H A DGeneralNames.java16 Object obj)
18 if (obj instanceof GeneralNames)
20 return (GeneralNames)obj;
23 if (obj != null)
25 return new GeneralNames(ASN1Sequence.getInstance(obj));
32 ASN1TaggedObject obj,
35 return getInstance(ASN1Sequence.getInstance(obj, explicit));
15 getInstance( Object obj) argument
31 getInstance( ASN1TaggedObject obj, boolean explicit) argument
H A DGeneralSubtree.java144 Object obj)
146 if (obj == null)
151 if (obj instanceof GeneralSubtree)
153 return (GeneralSubtree) obj;
156 return new GeneralSubtree(ASN1Sequence.getInstance(obj));
143 getInstance( Object obj) argument
H A DHolder.java54 public static Holder getInstance(Object obj) argument
56 if (obj instanceof Holder)
58 return (Holder)obj;
60 else if (obj instanceof ASN1TaggedObject)
62 return new Holder(ASN1TaggedObject.getInstance(obj));
64 else if (obj != null)
66 return new Holder(ASN1Sequence.getInstance(obj));
H A DSubjectKeyIdentifier.java25 ASN1TaggedObject obj,
28 return getInstance(ASN1OctetString.getInstance(obj, explicit));
32 Object obj)
34 if (obj instanceof SubjectKeyIdentifier)
36 return (SubjectKeyIdentifier)obj;
38 else if (obj != null)
40 return new SubjectKeyIdentifier(ASN1OctetString.getInstance(obj));
24 getInstance( ASN1TaggedObject obj, boolean explicit) argument
31 getInstance( Object obj) argument
H A DSubjectPublicKeyInfo.java29 ASN1TaggedObject obj,
32 return getInstance(ASN1Sequence.getInstance(obj, explicit));
36 Object obj)
38 if (obj instanceof SubjectPublicKeyInfo)
40 return (SubjectPublicKeyInfo)obj;
42 else if (obj != null)
44 return new SubjectPublicKeyInfo(ASN1Sequence.getInstance(obj));
28 getInstance( ASN1TaggedObject obj, boolean explicit) argument
35 getInstance( Object obj) argument

Completed in 212 milliseconds

1234567891011>>