- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for PACDecodingException (0.22 sec)
-
src/main/java/jcifs/pac/PacUnicodeString.java
return this.pointer; } public String check ( String string ) throws PACDecodingException { if ( this.pointer == 0 && string != null ) throw new PACDecodingException("Non-empty string"); int expected = this.length / 2; if ( string.length() != expected ) { throw new PACDecodingException("Invalid string length, expected " + expected + ", have " + string.length()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
@Test public void testRC4Checksum1 () throws PACDecodingException, GeneralSecurityException { String data = "fifteen sixteen"; String key = "F7D3A155AF5E238A0B7A871A96BA2AB2"; String expect = "6F65117E732E724D60FC2A9744CEAE43"; testRC4HMac(5, data, key, expect); } @Test public void testRC4Checksum2 () throws PACDecodingException, GeneralSecurityException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 22.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacCredentialType.java
private static final int MINIMAL_BUFFER_SIZE = 32; private byte[] credentialType; public PacCredentialType ( byte[] data ) throws PACDecodingException { this.credentialType = data; if ( !isCredentialTypeCorrect() ) { throw new PACDecodingException("Invalid PAC credential type"); } } public boolean isCredentialTypeCorrect () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)); ASN1TaggedObject derToken; try { derToken = ASN1Util.as(ASN1TaggedObject.class, stream); if ( derToken.getTagClass() != BERTags.APPLICATION ) throw new PACDecodingException("Malformed kerberos ticket"); stream.close();
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/PacLogonInfo.java
private SID[] groupSids; private SID[] resourceGroupSids; private SID[] extraSids; private int userAccountControl; private int userFlags; public PacLogonInfo ( byte[] data ) throws PACDecodingException { try { PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); // Skip firsts pacStream.skipBytes(20);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosAuthData.java
import java.util.Map; import javax.security.auth.kerberos.KerberosKey; import jcifs.pac.PACDecodingException; @SuppressWarnings ( "javadoc" ) public abstract class KerberosAuthData { public static List<KerberosAuthData> parse ( int authType, byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException { List<KerberosAuthData> authorizations = new ArrayList<>(); switch ( authType ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
public static final int ETYPE_AES256_CTS_HMAC_SHA1_96 = 18; private int type; private byte[] checksum; public PacSignature ( byte[] data ) throws PACDecodingException { try { PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); this.type = bufferStream.readInt(); switch ( this.type ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.3K bytes - Viewed (0)