- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 51 for malformed (0.05 seconds)
-
src/main/java/jcifs/pac/kerberos/KerberosToken.java
throw new PACDecodingException("Malformed kerberos token"); } ASN1TaggedObject mechToken = ASN1Util.as(ASN1TaggedObject.class, stream.readObject()); if (mechToken == null || mechToken.getTagClass() != BERTags.APPLICATION || !(mechToken.getBaseObject() instanceof ASN1Sequence)) { throw new PACDecodingException("Malformed kerberos token"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
new KerberosRelevantAuthData(malformedToken, keys); }, "A PACDecodingException should be thrown for a malformed token."); assertEquals("Malformed kerberos ticket", exception.getMessage(), "The exception message should indicate a malformed ticket."); } /** * Test constructor with an empty token.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
} /** * Test constructor with KERB_CHECKSUM_HMAC_MD5 type. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if the PAC is malformed */ @Test void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException { // Prepare data ByteArrayOutputStream baos = new ByteArrayOutputStream();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
throw new PACDecodingException("Malformed Kerberos Ticket"); } try { this.ticket = new KerberosTicket(derTicket.getBaseObject().getEncoded(), this.apOptions, keys); } catch (IOException e) { throw new PACDecodingException("Malformed Kerberos Ticket", e); } break;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
} @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() { byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
internal/config/identity/openid/jwks.go
D string `json:"d,omitempty"` N string `json:"n,omitempty"` E string `json:"e,omitempty"` K string `json:"k,omitempty"` } var ( errMalformedJWKRSAKey = errors.New("malformed JWK RSA key") errMalformedJWKECKey = errors.New("malformed JWK EC key") ) // DecodePublicKey - decodes JSON Web Key (JWK) as public key func (key *JWKS) DecodePublicKey() (crypto.PublicKey, error) { switch key.Kty { case "RSA":
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 02 23:02:35 GMT 2024 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @throws PACDecodingException if the string structure is malformed */ public PacUnicodeString readUnicodeString() throws IOException, PACDecodingException { final short length = readShort(); final short maxLength = readShort(); final int pointer = readInt(); if (maxLength < length) { throw new PACDecodingException("Malformed string in PAC"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
void testConstructorWithEmptyToken() { byte[] emptyToken = new byte[0]; assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken)); } /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/Jdk.java
} public void setVersion(String version) { if (VERSION_PATTERN.matcher(version).matches() == false && LEGACY_VERSION_PATTERN.matcher(version).matches() == false) { throw new IllegalArgumentException("malformed version [" + version + "] for jdk [" + name + "]"); } parseVersion(version); this.version.set(version); } public String getPlatform() { return platform.get(); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 19:29:10 GMT 2021 - 6.8K bytes - Click Count (0)