Searched defs:encode (Results 26 - 50 of 94) sorted by relevance

1234

/libcore/ojluni/src/main/java/sun/security/x509/
H A DOIDName.java88 * @param out the DER stream to encode the OIDName to.
91 public void encode(DerOutputStream out) throws IOException { method in class:OIDName
H A DRFC822Name.java116 * @param out the DER stream to encode the RFC822Name to.
119 public void encode(DerOutputStream out) throws IOException { method in class:RFC822Name
H A DAuthorityInfoAccessExtension.java152 public void encode(OutputStream out) throws IOException { method in class:AuthorityInfoAccessExtension
159 super.encode(tmp);
225 accessDescription.encode(ads);
H A DBasicConstraintsExtension.java78 // Only encode pathLen when ca == true
188 * @param out the DerOutputStream to encode the extension to.
190 public void encode(OutputStream out) throws IOException { method in class:BasicConstraintsExtension
201 super.encode(tmp);
H A DCRLDistributionPointsExtension.java202 public void encode(OutputStream out) throws IOException { method in class:CRLDistributionPointsExtension
203 encode(out, PKIXExtensions.CRLDistributionPoints_Id, false);
210 protected void encode(OutputStream out, ObjectIdentifier extensionId, method in class:CRLDistributionPointsExtension
219 super.encode(tmp);
286 point.encode(pnts);
H A DCRLExtensions.java144 public void encode(OutputStream out, boolean isExplicit) method in class:CRLExtensions
153 ((CertAttrSet)objs[i]).encode(extOut);
155 ((Extension)objs[i]).encode(extOut);
H A DCRLNumberExtension.java196 public void encode(OutputStream out) throws IOException { method in class:CRLNumberExtension
198 encode(out, PKIXExtensions.CRLNumber_Id, true);
205 protected void encode(OutputStream out, ObjectIdentifier extensionId, method in class:CRLNumberExtension
215 super.encode(tmp);
H A DCRLReasonCodeExtension.java161 public void encode(OutputStream out) throws IOException { method in class:CRLReasonCodeExtension
169 super.encode(tmp);
H A DCertificateIssuerExtension.java83 names.encode(os);
182 public void encode(OutputStream out) throws IOException { method in class:CertificateIssuerExtension
189 super.encode(tmp);
H A DCertificateIssuerName.java110 public void encode(OutputStream out) throws IOException { method in class:CertificateIssuerName
112 dnName.encode(tmp);
H A DCertificatePoliciesExtension.java96 info.encode(tmp);
178 public void encode(OutputStream out) throws IOException { method in class:CertificatePoliciesExtension
185 super.encode(tmp);
H A DCertificateSerialNumber.java119 public void encode(OutputStream out) throws IOException { method in class:CertificateSerialNumber
121 serial.encode(tmp);
H A DCertificateSubjectName.java110 public void encode(OutputStream out) throws IOException { method in class:CertificateSubjectName
112 dnName.encode(tmp);
H A DCertificateValidity.java147 public void encode(OutputStream out) throws IOException { method in class:CertificateValidity
153 " null values to encode.\n");
H A DCertificateVersion.java161 public void encode(OutputStream out) throws IOException { method in class:CertificateVersion
H A DEDIPartyName.java121 * @param out the DER stream to encode the EDIPartyName to.
124 public void encode(DerOutputStream out) throws IOException { method in class:EDIPartyName
H A DExtension.java144 public void encode(OutputStream out) throws IOException { method in class:Extension
168 public void encode(DerOutputStream out) throws IOException { method in class:Extension
171 throw new IOException("Null OID to encode for the extension!");
173 throw new IOException("No value to encode for the extension!");
H A DGeneralNameInterface.java71 * @param out the DerOutputStream to encode the GeneralName to.
75 void encode(DerOutputStream out) throws IOException; method in interface:GeneralNameInterface
H A DGeneralSubtree.java190 * @params out the DerOutputStream to encode this object to.
192 public void encode(DerOutputStream out) throws IOException { method in class:GeneralSubtree
195 name.encode(seq);
H A DIPAddressName.java229 * @params out the DER stream to encode the IPAddressName to.
232 public void encode(DerOutputStream out) throws IOException { method in class:IPAddressName
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DCertificateStub.java63 * @see java.security.Certificate#encode(java.io.OutputStream)
65 public void encode(OutputStream stream) throws KeyException, method in class:CertificateStub
/libcore/ojluni/src/main/java/sun/misc/
H A DCharacterEncoder.java141 public void encode(InputStream inStream, OutputStream outStream) method in class:CharacterEncoder
176 public void encode(byte aBuffer[], OutputStream aStream) method in class:CharacterEncoder
179 encode(inStream, aStream);
183 * A 'streamless' version of encode that simply takes a buffer of
186 public String encode(byte aBuffer[]) { method in class:CharacterEncoder
191 encode(inStream, outStream);
196 throw new Error("CharacterEncoder.encode internal error");
232 * This class doesn't have a concept of encode(buf, len, off),
253 public void encode(ByteBuffer aBuffer, OutputStream aStream) method in class:CharacterEncoder
256 encode(bu
265 public String encode(ByteBuffer aBuffer) { method in class:CharacterEncoder
[all...]
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DPKCS8Key.java85 encode();
160 encode();
177 encode(pkcs8EncodedKeyStream, algid, key);
261 public final void encode(DerOutputStream out) throws IOException method in class:PKCS8Key
263 encode(out, this.algid, this.key);
272 result = encode();
290 public byte[] encode() throws InvalidKeyException { method in class:PKCS8Key
296 encode (out);
386 static void encode(DerOutputStream out, AlgorithmId algid, byte[] key) method in class:PKCS8Key
390 algid.encode(tm
[all...]
H A DPKCS9Attributes.java238 public void encode(byte tag, OutputStream out) throws IOException { method in class:PKCS9Attributes
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DCertId.java157 public void encode(DerOutputStream out) throws IOException { method in class:CertId
160 hashAlgId.encode(tmp);
163 certSerialNumber.encode(tmp);
169 encoder.encode(out.toByteArray()));
229 sb.append(encoder.encode(issuerNameHash));
231 sb.append(encoder.encode(issuerKeyHash));

Completed in 132 milliseconds

1234