- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for PACDecodingException (0.2 sec)
-
src/main/java/jcifs/pac/PACDecodingException.java
@SuppressWarnings ( "javadoc" ) public class PACDecodingException extends CIFSException { private static final long serialVersionUID = 1L; public PACDecodingException () { this(null, null); } public PACDecodingException ( String message ) { this(message, null); } public PACDecodingException ( Throwable cause ) { this(null, cause); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
import jcifs.pac.ASN1Util; import jcifs.pac.PACDecodingException; @SuppressWarnings ( "javadoc" ) public class KerberosToken { private KerberosApRequest apRequest; public KerberosToken ( byte[] token ) throws PACDecodingException { this(token, null); } public KerberosToken ( byte[] token, KerberosKey[] keys ) throws PACDecodingException { if ( token.length <= 0 )
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/Pac.java
public Pac ( byte[] data, Map<Integer, KerberosKey> keys ) throws PACDecodingException { byte[] checksumData = data.clone(); try { PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); if ( data.length <= 8 ) throw new PACDecodingException("Empty PAC"); int bufferCount = pacStream.readInt();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
throw new PACDecodingException("Missing key"); } return calculateMacHMACAES(usage, key, data); } else { throw new PACDecodingException("Invalid MAC algorithm"); } } catch ( GeneralSecurityException e ) { throw new PACDecodingException("Failed to calculate MAC", e); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
import org.bouncycastle.asn1.*; import jcifs.pac.ASN1Util; import jcifs.pac.PACDecodingException; @SuppressWarnings ( "javadoc" ) public class KerberosApRequest { private byte apOptions; private KerberosTicket ticket; public KerberosApRequest ( byte[] token, KerberosKey[] keys ) throws PACDecodingException { this(parseSequence(token), keys); }
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/ASN1Util.java
/** * * @param type * @param object * @return object cast to type * @throws PACDecodingException */ public static <T> T as ( Class<T> type, Object object ) throws PACDecodingException { if ( !type.isInstance(object) ) { throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass()); } return type.cast(object); }
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/KerberosTicket.java
import jcifs.pac.ASN1Util; import jcifs.pac.PACDecodingException; @SuppressWarnings ( "javadoc" ) public class KerberosTicket { private String serverPrincipalName; private String serverRealm; private KerberosEncData encData; public KerberosTicket ( byte[] token, byte apOptions, KerberosKey[] keys ) throws PACDecodingException { if ( token.length <= 0 )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java
import javax.security.auth.kerberos.KerberosKey; import jcifs.pac.PACDecodingException; import jcifs.pac.Pac; @SuppressWarnings ( "javadoc" ) public class KerberosPacAuthData extends KerberosAuthData { private Pac pac; public KerberosPacAuthData ( byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException { this.pac = new Pac(token, keys); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
return date; } public PacUnicodeString readUnicodeString () throws IOException, PACDecodingException { short length = readShort(); short maxLength = readShort(); int pointer = readInt(); if ( maxLength < length ) { throw new PACDecodingException("Malformed string in PAC"); } return new PacUnicodeString(length, maxLength, pointer);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 21 21:19:58 UTC 2018 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
import org.bouncycastle.asn1.*; import jcifs.pac.ASN1Util; import jcifs.pac.PACDecodingException; @SuppressWarnings ( "javadoc" ) public class KerberosRelevantAuthData extends KerberosAuthData { private List<KerberosAuthData> authorizations; public KerberosRelevantAuthData ( byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException { ASN1Sequence authSequence; try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 2.4K bytes - Viewed (0)