com.ibm.portal.portlet.service.credentialvault.spi.secrets
Interface BinaryCredentialSecret

All Superinterfaces:
CredentialSecret

public interface BinaryCredentialSecret
extends CredentialSecret

Implementation of the CredentialSecret class for binary secrets.

Since:
5.1.0.1

Field Summary
 
Fields inherited from interface com.ibm.portal.portlet.service.credentialvault.spi.secrets.CredentialSecret
TYPE_BYTEARRAY, TYPE_JAAS_SUBJECT, TYPE_JAVA_OBJECT, TYPE_NO_SECRET_DATA, TYPE_UNDEFINED, TYPE_USERID_STRING_PASSWORD_STRING
 
Method Summary
 byte[] getSecret()
          Static utility method.
 int getType()
          Returns the type of a certain the secret.
 void setSecret(byte[] secret)
          Returns the secret.
 
Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.spi.secrets.CredentialSecret
isInitialized
 

Method Detail

getType

int getType()
Returns the type of a certain the secret.

Specified by:
getType in interface CredentialSecret
Returns:
The credential secret type identifier.

getSecret

byte[] getSecret()
Static utility method. Returns the secret.

Returns:
The secret.

setSecret

void setSecret(byte[] secret)
Returns the secret.

Parameters:
secret - The secret.