java.lang.Object
com.aoapps.security.SecurityStreamables
Functions for streaming Security-related objects.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic HashedKeyReads aHashedKey.static HashedPasswordReads aHashedPassword.static IdentifierReads anIdentifier.static HashedKeyReads a possibly-nullHashedKey.static HashedPasswordReads a possibly-nullHashedPassword.static IdentifierReads a possibly-nullIdentifier.static SmallIdentifierReads a possibly-nullIdentifier.static SmallIdentifierReads aSmallIdentifier.static voidwriteHashedKey(HashedKey hashedKey, DataOutputStream out) Writes aHashedKey.static voidwriteHashedPassword(HashedPassword hashedPassword, DataOutputStream out) Writes aHashedPassword.static voidwriteIdentifier(Identifier identifier, DataOutputStream out) Writes anIdentifier.static voidwriteNullHashedKey(HashedKey hashedKey, DataOutputStream out) Writes a possibly-nullHashedKey.static voidwriteNullHashedPassword(HashedPassword hashedPassword, DataOutputStream out) Writes a possibly-nullHashedPassword.static voidwriteNullIdentifier(Identifier identifier, DataOutputStream out) Writes a possibly-nullIdentifier.static voidwriteNullSmallIdentifier(SmallIdentifier identifier, DataOutputStream out) Writes a possibly-nullSmallIdentifier.static voidwriteSmallIdentifier(SmallIdentifier identifier, DataOutputStream out) Writes aSmallIdentifier.
-
Method Details
-
readHashedKey
Reads aHashedKey.- Throws:
IOException
-
readNullHashedKey
Reads a possibly-nullHashedKey.- Throws:
IOException
-
readHashedPassword
Reads aHashedPassword.- Throws:
IOException
-
readNullHashedPassword
Reads a possibly-nullHashedPassword.- Throws:
IOException
-
readIdentifier
Reads anIdentifier.- Throws:
IOException
-
readNullIdentifier
Reads a possibly-nullIdentifier.- Throws:
IOException
-
readSmallIdentifier
Reads aSmallIdentifier.- Throws:
IOException
-
readNullSmallIdentifier
Reads a possibly-nullIdentifier.- Throws:
IOException
-
writeHashedKey
Writes aHashedKey.- Throws:
IOException
-
writeNullHashedKey
Writes a possibly-nullHashedKey.- Throws:
IOException
-
writeHashedPassword
public static void writeHashedPassword(HashedPassword hashedPassword, DataOutputStream out) throws IOException Writes aHashedPassword.- Throws:
IOException
-
writeNullHashedPassword
public static void writeNullHashedPassword(HashedPassword hashedPassword, DataOutputStream out) throws IOException Writes a possibly-nullHashedPassword.- Throws:
IOException
-
writeIdentifier
Writes anIdentifier.- Throws:
IOException
-
writeNullIdentifier
public static void writeNullIdentifier(Identifier identifier, DataOutputStream out) throws IOException Writes a possibly-nullIdentifier.- Throws:
IOException
-
writeSmallIdentifier
public static void writeSmallIdentifier(SmallIdentifier identifier, DataOutputStream out) throws IOException Writes aSmallIdentifier.- Throws:
IOException
-
writeNullSmallIdentifier
public static void writeNullSmallIdentifier(SmallIdentifier identifier, DataOutputStream out) throws IOException Writes a possibly-nullSmallIdentifier.- Throws:
IOException
-
