- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for readObject (0.81 sec)
-
src/main/java/jcifs/spnego/NegTokenInit.java
@Override protected void parse ( byte[] token ) throws IOException { try ( ASN1InputStream is = new ASN1InputStream(token) ) { ASN1TaggedObject constructed = (ASN1TaggedObject) is.readObject(); if ( constructed == null || constructed.getTagClass() != BERTags.APPLICATION || !(constructed.getBaseObject() instanceof ASN1Sequence) )
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
} @Override protected void parse ( byte[] token ) throws IOException { try ( ASN1InputStream der = new ASN1InputStream(token) ) { ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject(); ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true); Enumeration<?> fields = sequence.getObjects(); while ( fields.hasMoreElements() ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Jan 04 04:18:31 UTC 2021 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
} try ( ASN1InputStream stream = new ASN1InputStream(content) ) { ASN1ObjectIdentifier kerberosOid = (ASN1ObjectIdentifier) stream.readObject(); if ( !kerberosOid.getId().equals(KerberosConstants.KERBEROS_OID) ) throw new PACDecodingException("Not a kerberos token");
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @throws IOException */ public static <T extends ASN1Primitive> T as ( Class<T> type, ASN1InputStream stream ) throws PACDecodingException, IOException { return as(type, stream.readObject()); } /** * * @param type * @param tagged * @return tagged object contents cast to type * @throws PACDecodingException */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 6.5K bytes - Viewed (0)