- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ASN1InputStream (0.18 sec)
-
src/main/java/jcifs/pac/kerberos/KerberosToken.java
byte[] content; try ( ASN1InputStream stream = new ASN1InputStream(token) ) { content = ASN1Util.readUnparsedTagged(0, 0x8000, stream); }catch ( IOException e ) { throw new PACDecodingException("Malformed kerberos token", e); } try ( ASN1InputStream stream = new ASN1InputStream(content) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
public KerberosRelevantAuthData ( byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException { ASN1Sequence authSequence; try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { authSequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
throw new IllegalStateException(ex.getMessage()); } } @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 ||
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
throw new IllegalStateException(ex.getMessage()); } } @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);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Jan 04 04:18:31 UTC 2021 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @param stream * @return next object from stream cast to type * @throws PACDecodingException * @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
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
if ( token.length <= 0 ) throw new PACDecodingException("Empty kerberos ApReq"); ASN1Sequence sequence; try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
private List<KerberosAuthData> userAuthorizations; public KerberosEncData ( byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException { ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)); ASN1TaggedObject derToken; try { derToken = ASN1Util.as(ASN1TaggedObject.class, stream);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
if ( token.length <= 0 ) throw new PACDecodingException("Empty kerberos ticket"); ASN1Sequence sequence; try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 5.7K bytes - Viewed (0)