Home
last modified time | relevance | path

Searched refs:toASN1Primitive (Results 1 – 25 of 208) sorted by relevance

123456789

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Object.java66 return this.toASN1Primitive().hashCode(); in hashCode()
84 return this.toASN1Primitive().equals(other.toASN1Primitive()); in equals()
93 return this.toASN1Primitive(); in toASN1Object()
112 public abstract ASN1Primitive toASN1Primitive(); in toASN1Primitive() method in ASN1Object
DASN1TaggedObject.java85 ASN1Primitive prim = obj.toASN1Primitive(); in ASN1TaggedObject()
120 if (!(obj.toASN1Primitive().equals(other.obj.toASN1Primitive()))) in asn1Equals()
186 return obj.toASN1Primitive(); in getObject()
222 return this.toASN1Primitive(); in getLoadedObject()
DASN1Sequence.java79 return ASN1Sequence.getInstance(((ASN1SequenceParser)obj).toASN1Primitive()); in getInstance()
94 ASN1Primitive primitive = ((ASN1Encodable)obj).toASN1Primitive(); in getInstance()
133 return ASN1Sequence.getInstance(obj.getObject().toASN1Primitive()); in getInstance()
259 public ASN1Primitive toASN1Primitive() in parser() method
327 ASN1Primitive o1 = obj1.toASN1Primitive(); in asn1Equals()
328 ASN1Primitive o2 = obj2.toASN1Primitive(); in asn1Equals()
DDLTaggedObject.java38 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); in isConstructed()
54 int length = obj.toASN1Primitive().toDLObject().encodedLength(); in encodedLength()
80 ASN1Primitive primitive = obj.toASN1Primitive().toDLObject(); in encode()
DASN1Set.java120 return ASN1Set.getInstance(((ASN1SetParser)obj).toASN1Primitive()); in getInstance()
135 ASN1Primitive primitive = ((ASN1Encodable)obj).toASN1Primitive(); in getInstance()
350 public ASN1Primitive toASN1Primitive() in parser() method
442 ASN1Primitive o1 = obj1.toASN1Primitive(); in asn1Equals()
443 ASN1Primitive o2 = obj2.toASN1Primitive(); in asn1Equals()
492 return obj.toASN1Primitive().getEncoded(ASN1Encoding.DER); in getDEREncoded()
DDERTaggedObject.java43 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in isConstructed()
59 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in encodedLength()
86 ASN1Primitive primitive = obj.toASN1Primitive().toDERObject(); in encode()
DASN1Primitive.java52 return (o instanceof ASN1Encodable) && asn1Equals(((ASN1Encodable)o).toASN1Primitive()); in equals()
55 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in ASN1Primitive
DDERExternal.java63 return v.get(index).toASN1Primitive(); in getObjFromVector()
75 …, indirectReference, dataValueDescriptor, externalData.getTagNo(), externalData.toASN1Primitive()); in DERExternal()
93 setExternalContent(externalData.toASN1Primitive()); in DERExternal()
DDERApplicationSpecific.java61 …super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, objec… in DERApplicationSpecific()
67 byte[] data = object.toASN1Primitive().getEncoded(ASN1Encoding.DER); in getEncoding()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DX9Curve.java141 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in X9Curve
147 v.add(new X9FieldElement(curve.getA()).toASN1Primitive()); in toASN1Primitive()
148 v.add(new X9FieldElement(curve.getB()).toASN1Primitive()); in toASN1Primitive()
152 v.add(new X9FieldElement(curve.getA()).toASN1Primitive()); in toASN1Primitive()
153 v.add(new X9FieldElement(curve.getB()).toASN1Primitive()); in toASN1Primitive()
DX962Parameters.java59 this.params = ecParameters.toASN1Primitive(); in X962Parameters()
108 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in X962Parameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java74 … info, new GeneralNames(genName), certificate.getSerialNumber()).toASN1Primitive(); in fromCertificate()
87 … str.getOctets(), new GeneralNames(genName), certificate.getSerialNumber()).toASN1Primitive(); in fromCertificate()
94 … info, new GeneralNames(genName), certificate.getSerialNumber()).toASN1Primitive(); in fromCertificate()
112 return (ASN1Sequence)new AuthorityKeyIdentifier(info).toASN1Primitive(); in fromKey()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DCertificateID.java91 public CertID toASN1Primitive() in toASN1Primitive() method in CertificateID
106 return id.toASN1Primitive().equals(obj.id.toASN1Primitive()); in equals()
111 return id.toASN1Primitive().hashCode(); in hashCode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DIssuerAndSerialNumber.java46 this.name = X500Name.getInstance(name.toASN1Primitive()); in IssuerAndSerialNumber()
54 this.name = X500Name.getInstance(name.toASN1Primitive()); in IssuerAndSerialNumber()
76 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in IssuerAndSerialNumber
DPrivateKeyInfo.java65 … this.privKey = new DEROctetString(privateKey.toASN1Primitive().getEncoded(ASN1Encoding.DER)); in PrivateKeyInfo()
119 return parsePrivateKey().toASN1Primitive(); in getPrivateKey()
149 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in PrivateKeyInfo
DKeyDerivationFunc.java52 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in KeyDerivationFunc
54 return algId.toASN1Primitive(); in toASN1Primitive()
DEncryptionScheme.java52 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in EncryptionScheme
54 return algId.toASN1Primitive(); in toASN1Primitive()
DPBES2Parameters.java44 …N1Sequence funcSeq = ASN1Sequence.getInstance(((ASN1Encodable)e.nextElement()).toASN1Primitive()); in PBES2Parameters()
68 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in PBES2Parameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500Name.java250 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in X500Name
284 ASN1Primitive derO = ((ASN1Encodable)obj).toASN1Primitive(); in equals()
286 if (this.toASN1Primitive().equals(derO)) in equals()
293 …yle.areEqual(this, new X500Name(ASN1Sequence.getInstance(((ASN1Encodable)obj).toASN1Primitive()))); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DAlgorithmParametersUtils.java58 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1"); in loadParameters()
62 params.init(sParams.toASN1Primitive().getEncoded()); in loadParameters()
DJcaJceUtils.java68 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1"); in loadParameters()
72 params.init(sParams.toASN1Primitive().getEncoded()); in loadParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Attribute.java76 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in X509Attribute
78 return attr.toASN1Primitive(); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DSignerIdentifier.java110 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in SignerIdentifier
112 return id.toASN1Primitive(); in toASN1Primitive()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DPKCS7ProcessableObject.java42 cOut.write(enc.toASN1Primitive().getEncoded(ASN1Encoding.DER)); in write()
47 byte[] encoded = structure.toASN1Primitive().getEncoded(ASN1Encoding.DER); in write()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DAttCertIssuer.java62 choiceObj = obj.toASN1Primitive(); in AttCertIssuer()
87 public ASN1Primitive toASN1Primitive() in toASN1Primitive() method in AttCertIssuer

123456789