Searched refs:asn1Encode (Results 1 - 25 of 53) sorted by relevance

123

/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/
H A DEncKDCRepPart.java176 public byte[] asn1Encode(int rep_type) throws Asn1Exception, method in class:EncKDCRepPart
181 true, (byte) 0x00), key.asn1Encode());
183 true, (byte) 0x01), lastReq.asn1Encode());
190 true, (byte) 0x03), keyExpiration.asn1Encode());
193 true, (byte) 0x04), flags.asn1Encode());
195 true, (byte) 0x05), authtime.asn1Encode());
198 true, (byte) 0x06), starttime.asn1Encode());
201 true, (byte) 0x07), endtime.asn1Encode());
204 true, (byte) 0x08), renewTill.asn1Encode());
207 true, (byte) 0x09), sname.getRealm().asn1Encode());
[all...]
H A DKrbCredInfo.java152 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:KrbCredInfo
154 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), key.asn1Encode()));
156 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), pname.getRealm().asn1Encode()));
157 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), pname.asn1Encode()));
160 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), flags.asn1Encode()));
162 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x04), authtime.asn1Encode()));
164 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x05), starttime.asn1Encode()));
166 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x06), endtime.asn1Encode()));
168 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x07), renewTill.asn1Encode()));
170 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x08), sname.getRealm().asn1Encode()));
[all...]
H A DEncTicketPart.java178 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:EncTicketPart
182 true, (byte) 0x00), flags.asn1Encode());
184 true, (byte) 0x01), key.asn1Encode());
186 true, (byte) 0x02), cname.getRealm().asn1Encode());
188 true, (byte) 0x03), cname.asn1Encode());
190 true, (byte) 0x04), transited.asn1Encode());
192 true, (byte) 0x05), authtime.asn1Encode());
195 true, (byte) 0x06), starttime.asn1Encode());
198 true, (byte) 0x07), endtime.asn1Encode());
202 true, (byte) 0x08), renewTill.asn1Encode());
[all...]
H A DKDCReqBody.java225 public byte[] asn1Encode(int msgType) throws Asn1Exception, IOException { method in class:KDCReqBody
227 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), kdcOptions.asn1Encode()));
230 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), cname.asn1Encode()));
234 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), sname.getRealm().asn1Encode()));
235 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), sname.asn1Encode()));
237 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), cname.getRealm().asn1Encode()));
240 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x04), from.asn1Encode()));
242 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x05), till.asn1Encode()));
244 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x06), rtime.asn1Encode()));
258 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x09), addresses.asn1Encode()));
[all...]
H A DEncASRepPart.java84 public byte[] asn1Encode() throws Asn1Exception, method in class:EncASRepPart
86 return asn1Encode(Krb5.KRB_ENC_AS_REP_PART);
H A DEncTGSRepPart.java80 public byte[] asn1Encode() throws Asn1Exception, method in class:EncTGSRepPart
82 return asn1Encode(Krb5.KRB_ENC_TGS_REP_PART);
H A DLastReqEntry.java79 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:LastReqEntry
84 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), lrValue.asn1Encode());
H A DAuthenticator.java175 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:Authenticator
180 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x01), cname.getRealm().asn1Encode()));
181 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x02), cname.asn1Encode()));
183 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x03), cksum.asn1Encode()));
188 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x05), ctime.asn1Encode()));
190 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x06), subKey.asn1Encode()));
199 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x08), authorizationData.asn1Encode()));
H A DEncKrbPrivPart.java143 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:EncKrbPrivPart
150 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x01), timestamp.asn1Encode());
163 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x04), sAddress.asn1Encode());
165 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x05), rAddress.asn1Encode());
H A DPAForUserEnc.java130 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:PAForUserEnc
132 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), name.asn1Encode());
133 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), name.getRealm().asn1Encode());
141 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), cks.asn1Encode());
H A DTicket.java135 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:Ticket
141 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), sname.getRealm().asn1Encode());
142 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), sname.asn1Encode());
143 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), encPart.asn1Encode());
H A DAPReq.java134 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:APReq
142 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x02), apOptions.asn1Encode());
143 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x03), ticket.asn1Encode());
144 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x04), authenticator.asn1Encode());
H A DLastReq.java99 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:LastReq
104 temp.write(entry[i].asn1Encode());
H A DPAEncTSEnc.java103 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:PAEncTSEnc
106 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x00), pATimeStamp.asn1Encode());
H A DKDCRep.java190 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:KDCRep
204 padata_stream.write(pAData[i].asn1Encode());
212 true, (byte) 0x03), cname.getRealm().asn1Encode());
214 true, (byte) 0x04), cname.asn1Encode());
216 true, (byte) 0x05), ticket.asn1Encode());
218 true, (byte) 0x06), encPart.asn1Encode());
H A DEncKrbCredPart.java173 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:EncKrbCredPart
178 tickets[i] = new DerValue(ticketInfo[i].asn1Encode());
192 true, (byte) 0x02), timeStamp.asn1Encode());
202 true, (byte) 0x04), sAddress.asn1Encode());
206 true, (byte) 0x05), rAddress.asn1Encode());
H A DEncAPRepPart.java135 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:EncAPRepPart
139 true, (byte) 0x00), ctime.asn1Encode()));
145 true, (byte) 0x02), subKey.asn1Encode()));
H A DKRBSafeBody.java126 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:KRBSafeBody
132 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x01), timestamp.asn1Encode());
144 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x04), sAddress.asn1Encode());
H A DKRBSafe.java130 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:KRBSafe
138 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x02), safeBody.asn1Encode());
139 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), cksum.asn1Encode());
H A DKRBCred.java161 public byte[] asn1Encode() throws Asn1Exception, IOException { method in class:KRBCred
174 temp.write(tickets[i].asn1Encode());
181 true, (byte) 0x03), encPart.asn1Encode());
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/
H A DKrbSafe.java134 byte[] temp = krb_safeBody.asn1Encode();
144 temp = krb_safe.asn1Encode();
146 return krb_safe.asn1Encode();
160 byte[] temp = krb_safe.safeBody.asn1Encode();
H A DKrbAsReq.java89 byte[] temp = ts.asn1Encode();
94 encTs.asn1Encode());
160 return asReqMessg.asn1Encode();
H A DKrbPriv.java133 byte[] temp = unenc_encKrbPrivPart.asn1Encode();
141 temp = krb_priv.asn1Encode();
143 return krb_priv.asn1Encode();
H A DKrbApRep.java87 obuf = apRepMessg.asn1Encode();
190 byte[] encPartEncoding = encPart.asn1Encode();
/openjdk10/jdk/test/sun/security/krb5/auto/
H A DKDC.java844 new EncryptedData(skey, enc.asn1Encode(), KeyUsage.KU_TICKET)
861 EncryptedData edata = new EncryptedData(ckey, enc_part.asn1Encode(), KeyUsage.KU_ENC_TGS_REP_PART_SESSKEY);
872 true, (byte)Krb5.KRB_TGS_REP), tgsRep.asn1Encode());
890 return kerr.asn1Encode();
1008 new DerValue(new ETypeInfo2(1, null, null).asn1Encode()),
1009 new DerValue(new ETypeInfo2(1, "", null).asn1Encode()),
1010 new DerValue(new ETypeInfo2(1, realm, new byte[]{1}).asn1Encode()),
1013 new DerValue(new ETypeInfo(1, null).asn1Encode()),
1014 new DerValue(new ETypeInfo(1, "").asn1Encode()),
1015 new DerValue(new ETypeInfo(1, realm).asn1Encode()),
[all...]

Completed in 100 milliseconds

123