Lines Matching defs:data
65 * e-data [12] OCTET STRING OPTIONAL
71 * data-type [0] Int32,
72 * data-value [1] OCTET STRING OPTIONAL
188 public KRBError(byte[] data) throws Asn1Exception,
190 init(new DerValue(data));
204 * According to RFC 4120, e-data field in a KRB-ERROR message is
209 * Hence, the ideal procedure to parse e-data should look like:
224 private void parseEData(byte[] data) throws IOException {
225 if (data == null) {
236 parsePAData(data);
240 new sun.misc.HexDumpEncoder().encodeBuffer(data));
250 new sun.misc.HexDumpEncoder().encodeBuffer(data));
256 * Try parsing the data as a sequence of PA-DATA.
257 * @param data the data block
259 private void parsePAData(byte[] data)
261 DerValue derPA = new DerValue(data);
263 while (derPA.data.available() > 0) {
265 DerValue tmp = derPA.data.getDerValue();
306 * @param encoding a DER-encoded data.
307 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data.
308 * @exception IOException if an I/O error occurs while reading encoded data.
309 * @exception KrbApErrException if the value read from the DER-encoded data
431 * @exception Asn1Exception if an error occurs while decoding an ASN1 encoded data.
432 * @exception IOException if an I/O error occurs while reading encoded data.