Package com.ironcorelabs.sdk
Class PublicKey
- java.lang.Object
-
- com.ironcorelabs.sdk.PublicKey
-
public final class PublicKey extends java.lang.Object
Represents an asymmetric public key that wraps the underlying bytes of the key.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
asBytes()
void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
int
hashCode()
static PublicKey
validate(byte[] bytes)
-
-
-
Method Detail
-
validate
public static PublicKey validate(byte[] bytes) throws java.lang.Exception
- Throws:
java.lang.Exception
-
asBytes
public final byte[] asBytes()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
delete
public void delete()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-