bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,659 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,660 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,661 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,662 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,663 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,664 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,665 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,666 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,667 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,668 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,669 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,670 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,671 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,672 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,673 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,674 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,675 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,676 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | 27,677 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,678 |
public boolean isMCNodeLocal() { return isMCNodeLocal(); } | public boolean isMCNodeLocal() { return isMCNodeLocal(); } | 27,679 |
public boolean isMCOrgLocal() { return isMCOrgLocal(); } | public boolean isMCOrgLocal() { return isMCOrgLocal(); } | 27,680 |
public abstract void setAlignment(int alignment); | public abstract void setAlignment(int alignment); | 27,681 |
public abstract void setText(String text); | public abstract void setText(String text); | 27,682 |
public Iterator<E> iterator() { // Bah, Sun's implementation forbids using listIterator(0). return new Iterator<E>() { private int pos = 0; private int size = size(); private int last = -1; private int knownMod = modCount; // This will get inlined, since it is private. /** ... | public Iterator<E> iterator() { // Bah, Sun's implementation forbids using listIterator(0). return new Iterator<E>() { private int pos = 0; private int size = size(); private int last = -1; private int knownMod = modCount; // This will get inlined, since it is private. /** ... | 27,683 |
public Iterator<E> iterator() { // Bah, Sun's implementation forbids using listIterator(0). return new Iterator<E>() { private int pos = 0; private int size = size(); private int last = -1; private int knownMod = modCount; // This will get inlined, since it is private. /** ... | public Iterator<E> iterator() { // Bah, Sun's implementation forbids using listIterator(0). return new Iterator<E>() { private int pos = 0; private int size = size(); private int last = -1; private int knownMod = modCount; // This will get inlined, since it is private. /** ... | 27,684 |
static void checkNCName(String name, boolean xml11) { checkName(name, xml11); int len = name.length(); int index = name.indexOf(':'); if (index != -1) { if (index == 0 || index == (len - 1) || name.lastIndexOf(':') != index) { throw new DomDOMException(DOMExcept... | static void checkNCName(String name, boolean xml11) { checkName(name, xml11); int len = name.length(); int index = name.indexOf(':'); if (index != -1) { if (index == 0 || index == (len - 1) || name.lastIndexOf(':') != index) { throw new DomDOMException(DOMExcept... | 27,685 |
fillPolygon(Polygon polygon){ fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints);} | fillPolygon(Polygon polygon){ fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints);} | 27,687 |
drawPolygon(Polygon polygon){ drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints);} | drawPolygon(Polygon polygon){ drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints);} | 27,688 |
public static final ByteBuffer wrap (byte[] array) { return wrap (array, 0, array.length); } | public static final ByteBuffer wrap (byte[] array, int offset, int length) { return wrap (array, 0, array.length); } | 27,689 |
public static final ByteBuffer wrap (byte[] array) { return wrap (array, 0, array.length); } | public static final ByteBuffer wrap (byte[] array) { return wrap (array, 0, array.length); } | 27,690 |
public static void fill(byte[] a, int fromIndex, int toIndex, byte val) { if (fromIndex > toIndex) throw new IllegalArgumentException(); for (int i = fromIndex; i < toIndex; i++) a[i] = val; } | public static void fill(boolean[] a, boolean val) { if (fromIndex > toIndex) throw new IllegalArgumentException(); for (int i = fromIndex; i < toIndex; i++) a[i] = val; } | 27,691 |
public static void fill(byte[] a, int fromIndex, int toIndex, byte val) { if (fromIndex > toIndex) throw new IllegalArgumentException(); for (int i = fromIndex; i < toIndex; i++) a[i] = val; } | public static void fill(byte[] a, int fromIndex, int toIndex, byte val) { if (fromIndex > toIndex) throw new IllegalArgumentException(); for (int i = fromIndex; i < toIndex; i++) a[i] = val; } | 27,692 |
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio... | protected void nextRandomBytes(byte[] buffer) if (rnd != null) rnd.nextBytes(buffer); } else if (irnd != null) try irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) throw new RuntimeException("nextRan... | 27,693 |
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio... | protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); catch (IllegalStateException x) { throw new RuntimeException("n... | 27,694 |
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio... | protected void nextRandomBytes(byte[] buffer) if (rnd != null) rnd.nextBytes(buffer); } else if (irnd != null) try irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) throw new RuntimeException("nextRan... | 27,695 |
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio... | protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio... | 27,696 |
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio... | protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio... | 27,697 |
private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; } else if (obj instanceof IRandom) { irnd = (IRandom) obj; ... | privatevoidsetup(Mapattributes){init();//dowehaveaRandomorSecureRandom,orshouldweuseourown?Objectobj=attributes.get(SOURCE_OF_RANDOMNESS);if(objinstanceofRandom){rnd=(Random)obj;}elseif(objinstanceofIRandom){irnd=(IRandom)obj;}} | 27,698 |
private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; } else if (obj instanceof IRandom) { irnd = (IRandom) obj; ... | private void setup(Map attributes) init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) rnd = (Random) obj; } else if (obj instanceof IRandom) irnd = (IRandom) obj; } } | 27,699 |
private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; } else if (obj instanceof IRandom) { irnd = (IRandom) obj; ... | private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; else if (obj instanceof IRandom) { irnd = (IRandom) obj; ... | 27,700 |
private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; } else if (obj instanceof IRandom) { irnd = (IRandom) obj; ... | private void setup(Map attributes) init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) rnd = (Random) obj; } else if (obj instanceof IRandom) irnd = (IRandom) obj; } } | 27,701 |
private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; } else if (obj instanceof IRandom) { irnd = (IRandom) obj; ... | private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; else if (obj instanceof IRandom) { irnd = (IRandom) obj; ... | 27,702 |
public void setupSign(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a private key? PrivateKey key = (PrivateKey) attributes.get(SIGNER_KEY); if (key != null) { setupForSigning(key); } } | publicvoidsetupSign(Mapattributes)throwsIllegalArgumentException{setup(attributes);//dowehaveaprivatekey?PrivateKeykey=(PrivateKey)attributes.get(SIGNER_KEY);if(key!=null){setupForSigning(key);}} | 27,703 |
public void setupSign(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a private key? PrivateKey key = (PrivateKey) attributes.get(SIGNER_KEY); if (key != null) { setupForSigning(key); } } | public void setupSign(Map attributes) throws IllegalArgumentException setup(attributes); // do we have a private key? PrivateKey key = (PrivateKey) attributes.get(SIGNER_KEY); if (key != null) setupForSigning(key); } } | 27,704 |
public void setupSign(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a private key? PrivateKey key = (PrivateKey) attributes.get(SIGNER_KEY); if (key != null) { setupForSigning(key); } } | public void setupSign(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a private key? PrivateKey key = (PrivateKey) attributes.get(SIGNER_KEY); if (key != null) { setupForSigning(key); } | 27,705 |
public void setupVerify(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a public key? PublicKey key = (PublicKey) attributes.get(VERIFIER_KEY); if (key != null) { setupForVerification(key); } } | publicvoidsetupVerify(Mapattributes)throwsIllegalArgumentException{setup(attributes);//dowehaveapublickey?PublicKeykey=(PublicKey)attributes.get(VERIFIER_KEY);if(key!=null){setupForVerification(key);}} | 27,706 |
public void setupVerify(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a public key? PublicKey key = (PublicKey) attributes.get(VERIFIER_KEY); if (key != null) { setupForVerification(key); } } | public void setupVerify(Map attributes) throws IllegalArgumentException setup(attributes); // do we have a public key? PublicKey key = (PublicKey) attributes.get(VERIFIER_KEY); if (key != null) setupForVerification(key); } } | 27,707 |
public void setupVerify(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a public key? PublicKey key = (PublicKey) attributes.get(VERIFIER_KEY); if (key != null) { setupForVerification(key); } } | public void setupVerify(Map attributes) throws IllegalArgumentException { setup(attributes); // do we have a public key? PublicKey key = (PublicKey) attributes.get(VERIFIER_KEY); if (key != null) { setupForVerification(key); } | 27,708 |
public Object sign() { if (md == null || privateKey == null) { throw new IllegalStateException(); } return generateSignature(); } | public Object sign() if (md == null || privateKey == null) throw new IllegalStateException(); } return generateSignature(); } | 27,709 |
public Object sign() { if (md == null || privateKey == null) { throw new IllegalStateException(); } return generateSignature(); } | public Object sign() { if (md == null || privateKey == null) { throw new IllegalStateException(); return generateSignature(); } | 27,710 |
public void update(byte b) { if (md == null) { throw new IllegalStateException(); } md.update(b); } | public void update(byte b) if (md == null) throw new IllegalStateException(); } md.update(b); } | 27,711 |
public void update(byte b) { if (md == null) { throw new IllegalStateException(); } md.update(b); } | public void update(byte b) { if (md == null) { throw new IllegalStateException(); md.update(b); } | 27,712 |
public boolean verify(Object sig) { if (md == null || publicKey == null) { throw new IllegalStateException(); } return verifySignature(sig); } | public boolean verify(Object sig) if (md == null || publicKey == null) throw new IllegalStateException(); } return verifySignature(sig); } | 27,713 |
public boolean verify(Object sig) { if (md == null || publicKey == null) { throw new IllegalStateException(); } return verifySignature(sig); } | public boolean verify(Object sig) { if (md == null || publicKey == null) { throw new IllegalStateException(); return verifySignature(sig); } | 27,714 |
public ActivationID(Activator activator) { this.activator = activator;} | public ActivationID(Activator activator) { this.activator = activator;} | 27,715 |
public boolean equals(Object obj) { if (obj instanceof ActivationID) { ActivationID that = (ActivationID)obj; if (this.activator.equals(that.activator)) { return (true); } } return (false);} | public boolean equals(Object obj) { if (obj instanceof ActivationID) { ActivationID that = (ActivationID)obj; if (this.activator.equals(that.activator)) { return (true); } } return (false);} | 27,716 |
public int hashCode() { return (activator.hashCode());} | public int hashCode() { return (activator.hashCode());} | 27,717 |
public Object get() throws java.io.IOException, java.lang.ClassNotFoundException{ if(objBytes == null) return null; RMIMarshalledObjectInputStream stream = new RMIMarshalledObjectInputStream(objBytes, locBytes); return stream.readObject();} | public Object get() throws java.io.IOException, java.lang.ClassNotFoundException{ if(objBytes == null) return null; RMIMarshalledObjectInputStream stream = new RMIMarshalledObjectInputStream(objBytes, locBytes); return stream.readObject();} | 27,718 |
public Object get() throws java.io.IOException, java.lang.ClassNotFoundException{ if(objBytes == null) return null; RMIMarshalledObjectInputStream stream = new RMIMarshalledObjectInputStream(objBytes, locBytes); return stream.readObject();} | public Object get() throws java.io.IOException, java.lang.ClassNotFoundException{ if(objBytes == null) return null; RMIMarshalledObjectInputStream stream = new RMIMarshalledObjectInputStream(objBytes, locBytes); return stream.readObject();} | 27,719 |
public int hashCode() { return (int) (unique ^ time ^ machineId); } | public int hashCode() { return (int) (unique ^ time ^ machineId); } | 27,720 |
public String toString() { return ("[UID: " + unique + "," + time + "," + count + "]"); } | public String toString() { int max = Character.MAX_RADIX; long lc = (count + Short.MIN_VALUE) & 0xFFFF; return Long.toString(time, max) + ":" + Long.toString(unique, max) + ":" + Long.toString(lc, max); } | 27,721 |
public DefaultFormatter() { commitsOnValidEdit = true; overwriteMode = true; allowsInvalid = true; } | public DefaultFormatter() { commitsOnValidEdit = false; overwriteMode = true; allowsInvalid = true; } | 27,722 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) throw new IllegalArgumentE... | 27,723 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | 27,724 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) throw new IllegalArgumentE... | 27,725 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | 27,726 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 27,727 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 27,728 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | 27,729 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 27,730 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | 27,731 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 27,732 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | 27,733 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 27,734 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | 27,735 |
public PrivateKey decodePrivateKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]) { throw new IllegalArgum... | publicPrivateKeydecodePrivateKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgume... | 27,736 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) throw new IllegalArgumentExcepti... | 27,737 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 27,738 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) throw new IllegalArgumentExcepti... | 27,739 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 27,740 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 27,741 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 27,742 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 27,743 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 27,744 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 27,745 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_RSA_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 27,746 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | 27,747 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_... | 27,748 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofGnuRSAPrivateKey)){thrownewIllegalArgumentException("key");}GnuRSAPrivateKeyrsaKey=(GnuRSAPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_K... | 27,749 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofGnuRSAPrivateKey)){thrownewIllegalArgumentException("key");}GnuRSAPrivateKeyrsaKey=(GnuRSAPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_K... | 27,750 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofGnuRSAPrivateKey)){thrownewIllegalArgumentException("key");}GnuRSAPrivateKeyrsaKey=(GnuRSAPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_K... | 27,751 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofGnuRSAPrivateKey)){thrownewIllegalArgumentException("key");}GnuRSAPrivateKeyrsaKey=(GnuRSAPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_K... | 27,752 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofGnuRSAPrivateKey)){thrownewIllegalArgumentException("key");}GnuRSAPrivateKeyrsaKey=(GnuRSAPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_K... | 27,753 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofGnuRSAPrivateKey)){thrownewIllegalArgumentException("key");}GnuRSAPrivateKeyrsaKey=(GnuRSAPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_K... | 27,754 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RS... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofGnuRSAPrivateKey)){thrownewIllegalArgumentException("key");}GnuRSAPrivateKeyrsaKey=(GnuRSAPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_K... | 27,755 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof GnuRSAPublicKey)) { throw new IllegalArgumentException("key"); } GnuRSAPublicKey rsaKey = (GnuRSAPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_PUB... | public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof GnuRSAPublicKey)) { throw new IllegalArgumentException("key"); } GnuRSAPublicKey rsaKey = (GnuRSAPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_PUB... | 27,756 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof GnuRSAPublicKey)) { throw new IllegalArgumentException("key"); } GnuRSAPublicKey rsaKey = (GnuRSAPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_PUB... | public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof GnuRSAPublicKey)) { throw new IllegalArgumentException("key"); GnuRSAPublicKey rsaKey = (GnuRSAPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_PUBLI... | 27,757 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof GnuRSAPublicKey)) { throw new IllegalArgumentException("key"); } GnuRSAPublicKey rsaKey = (GnuRSAPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_PUB... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofGnuRSAPublicKey)){thrownewIllegalArgumentException("key");}GnuRSAPublicKeyrsaKey=(GnuRSAPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1]);... | 27,758 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof GnuRSAPublicKey)) { throw new IllegalArgumentException("key"); } GnuRSAPublicKey rsaKey = (GnuRSAPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_PUB... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofGnuRSAPublicKey)){thrownewIllegalArgumentException("key");}GnuRSAPublicKeyrsaKey=(GnuRSAPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_RSA_PUBLIC_KEY[1]);... | 27,759 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.