/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | ASN1Object.java | 91 protected static boolean hasEncodedTagValue(Object obj, int tagValue) argument 93 return (obj instanceof byte[]) && ((byte[])obj)[0] == tagValue;
|
H A D | BERConstructedOctetString.java | 65 ASN1Primitive obj) 67 super(toByteArray(obj)); 70 private static byte[] toByteArray(ASN1Primitive obj) argument 74 return obj.getEncoded(); 83 ASN1Encodable obj) 85 this(obj.toASN1Primitive()); 64 BERConstructedOctetString( ASN1Primitive obj) argument 82 BERConstructedOctetString( ASN1Encodable obj) argument
|
H A D | BERTaggedObject.java | 16 * @param obj the tagged object. 20 ASN1Encodable obj) 22 super(true, tagNo, obj); 28 * @param obj the tagged object. 33 ASN1Encodable obj) 35 super(explicit, tagNo, obj); 58 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); 74 ASN1Primitive primitive = obj.toASN1Primitive(); 107 if (obj instanceof ASN1OctetString) 109 if (obj instanceo 18 BERTaggedObject( int tagNo, ASN1Encodable obj) argument 30 BERTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument [all...] |
H A D | DEROctetString.java | 18 ASN1Encodable obj) 21 super(obj.toASN1Primitive().getEncoded(ASN1Encoding.DER)); 17 DEROctetString( ASN1Encodable obj) argument
|
H A D | DERSequence.java | 22 ASN1Encodable obj) 24 super(obj); 54 Object obj = e.nextElement(); 56 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength(); 93 Object obj = e.nextElement(); 95 dOut.writeObject((ASN1Encodable)obj); 21 DERSequence( ASN1Encodable obj) argument
|
H A D | DERSet.java | 22 * @param obj - a single object that makes up the set. 25 ASN1Encodable obj) 27 super(obj); 64 Object obj = e.nextElement(); 66 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength(); 103 Object obj = e.nextElement(); 105 dOut.writeObject((ASN1Encodable)obj); 24 DERSet( ASN1Encodable obj) argument
|
H A D | DERTaggedObject.java | 18 * @param obj the tagged object. 23 ASN1Encodable obj) 25 super(explicit, tagNo, obj); 43 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); 59 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); 86 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); 20 DERTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
|
H A D | DLSequence.java | 25 ASN1Encodable obj) 27 super(obj); 57 Object obj = e.nextElement(); 59 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength(); 96 Object obj = e.nextElement(); 98 dOut.writeObject((ASN1Encodable)obj); 24 DLSequence( ASN1Encodable obj) argument
|
H A D | DLSet.java | 67 * @param obj - a single object that makes up the set. 70 ASN1Encodable obj) 72 super(obj); 102 Object obj = e.nextElement(); 104 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength(); 141 Object obj = e.nextElement(); 143 dOut.writeObject((ASN1Encodable)obj); 69 DLSet( ASN1Encodable obj) argument
|
H A D | DLTaggedObject.java | 18 * @param obj the tagged object. 23 ASN1Encodable obj) 25 super(explicit, tagNo, obj); 38 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); 54 int length = obj.toASN1Primitive().toDLObject().encodedLength(); 80 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); 20 DLTaggedObject( boolean explicit, int tagNo, ASN1Encodable obj) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
H A D | Attributes.java | 49 * @param obj the object we want converted. 52 public static Attributes getInstance(Object obj) argument 54 if (obj instanceof Attributes) 56 return (Attributes)obj; 58 else if (obj != null) 60 return new Attributes(ASN1Set.getInstance(obj));
|
H A D | ContentInfo.java | 48 * @param obj the object we want converted. 52 Object obj) 54 if (obj instanceof ContentInfo) 56 return (ContentInfo)obj; 58 else if (obj != null) 60 return new ContentInfo(ASN1Sequence.getInstance(obj)); 67 ASN1TaggedObject obj, 70 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 51 getInstance( Object obj) argument 66 getInstance( ASN1TaggedObject obj, boolean explicit) argument
|
H A D | GCMParameters.java | 38 * @param obj the object we want converted. 42 Object obj) 44 if (obj instanceof GCMParameters) 46 return (GCMParameters)obj; 48 else if (obj != null) 50 return new GCMParameters(ASN1Sequence.getInstance(obj)); 41 getInstance( Object obj) argument
|
H A D | IssuerAndSerialNumber.java | 44 * @param obj the object we want converted. 48 Object obj) 50 if (obj instanceof IssuerAndSerialNumber) 52 return (IssuerAndSerialNumber)obj; 54 else if (obj != null) 56 return new IssuerAndSerialNumber(ASN1Sequence.getInstance(obj)); 47 getInstance( Object obj) argument
|
H A D | Time.java | 38 ASN1TaggedObject obj, 41 return getInstance(obj.getObject()); 96 * @param obj the object we want converted. 100 Object obj) 102 if (obj == null || obj instanceof Time) 104 return (Time)obj; 106 else if (obj instanceof DERUTCTime) 108 return new Time((DERUTCTime)obj); 110 else if (obj instanceo 37 getInstance( ASN1TaggedObject obj, boolean explicit) argument 99 getInstance( Object obj) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | ContentInfo.java | 25 Object obj) 27 if (obj instanceof ContentInfo) 29 return (ContentInfo)obj; 32 if (obj != null) 34 return new ContentInfo(ASN1Sequence.getInstance(obj)); 24 getInstance( Object obj) argument
|
H A D | DHParameter.java | 37 Object obj) 39 if (obj instanceof DHParameter) 41 return (DHParameter)obj; 44 if (obj != null) 46 return new DHParameter(ASN1Sequence.getInstance(obj)); 36 getInstance( Object obj) argument
|
H A D | EncryptedPrivateKeyInfo.java | 38 Object obj) 40 if (obj instanceof EncryptedPrivateKeyInfo) 42 return (EncryptedPrivateKeyInfo)obj; 44 else if (obj != null) 46 return new EncryptedPrivateKeyInfo(ASN1Sequence.getInstance(obj)); 37 getInstance( Object obj) argument
|
H A D | EncryptionScheme.java | 28 public static final EncryptionScheme getInstance(Object obj) argument 30 if (obj instanceof EncryptionScheme) 32 return (EncryptionScheme)obj; 34 else if (obj != null) 36 return new EncryptionScheme(ASN1Sequence.getInstance(obj));
|
H A D | IssuerAndSerialNumber.java | 21 Object obj) 23 if (obj instanceof IssuerAndSerialNumber) 25 return (IssuerAndSerialNumber)obj; 27 else if (obj != null) 29 return new IssuerAndSerialNumber(ASN1Sequence.getInstance(obj)); 20 getInstance( Object obj) argument
|
H A D | KeyDerivationFunc.java | 28 public static final KeyDerivationFunc getInstance(Object obj) argument 30 if (obj instanceof KeyDerivationFunc) 32 return (KeyDerivationFunc)obj; 34 else if (obj != null) 36 return new KeyDerivationFunc(ASN1Sequence.getInstance(obj));
|
H A D | MacData.java | 25 Object obj) 27 if (obj instanceof MacData) 29 return (MacData)obj; 31 else if (obj != null) 33 return new MacData(ASN1Sequence.getInstance(obj)); 24 getInstance( Object obj) argument
|
H A D | PBEParameter.java | 40 Object obj) 42 if (obj instanceof PBEParameter) 44 return (PBEParameter)obj; 46 else if (obj != null) 48 return new PBEParameter(ASN1Sequence.getInstance(obj)); 39 getInstance( Object obj) argument
|
H A D | PBES2Algorithms.java | 23 ASN1Sequence obj) 25 super(obj); 27 Enumeration e = obj.getObjects(); 22 PBES2Algorithms( ASN1Sequence obj) argument
|
H A D | PBES2Parameters.java | 20 Object obj) 22 if (obj instanceof PBES2Parameters) 24 return (PBES2Parameters)obj; 26 if (obj != null) 28 return new PBES2Parameters(ASN1Sequence.getInstance(obj)); 41 ASN1Sequence obj) 43 Enumeration e = obj.getObjects(); 19 getInstance( Object obj) argument 40 PBES2Parameters( ASN1Sequence obj) argument
|