- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for PACDecodingException (0.19 sec)
-
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/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/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) -
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/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)