Uses of Class
com.protegrity.ap.java.ProtectorException

  • Uses of ProtectorException in com.protegrity.ap.java

    Modifier and Type
    Class
    Description
    class 
    Holds information about exceptions.
    Modifier and Type
    Method
    Description
    CoreproviderAdapter.buildProtectPayload(String user, String dataElementName, String[] input, byte[] externalIv, String encodingType)
     
    CoreproviderAdapter.buildReprotectPayload(String user, String newDataElementName, String oldDataElementName, String[] input, byte[] newExternalIv, byte[] oldExternalIv, String encodingType)
     
    void
    Protector.closeSession(SessionObject session)
    Deprecated.
    As of release 9.0.
    void
    SessionHandler.closeSession(SessionObject session)
    Deprecated.
    This method uses reflection to clear fields and may not be reliable.
    Protector.createSession(String policyUser)
    Create a session.
    SessionHandler.createSession(String apiUser)
    Creates a new session for the specified user.
    void
    CoreproviderAdapter.flush()
     
    void
    Protector.flushAudits()
    Note: As the FlushAudits API is an advanced functionality, you must contact the Protegrity Professional Services team for more information about its usage.
    Protector.getLastError(SessionObject session)
    Get last error with a description of why the method returned false.
    SessionHandler.getLastError(SessionObject session)
    Gets the last error message for the session.
    static Protector
    Protector.getProtector()
     
    SessionHandler.getUser(SessionObject session)
    Gets the username associated with the session.
    CoreproviderAdapter.parseResultsToOutput(SessionObject sessionObj, String jsonResponse, Class<?> targetType, String encodingType)
     
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, byte[][] input, byte[][] output, byte[] externalIv, PTYCharset... ptyCharsets)
    Protect byte using all DE supported (Encryption, NoEncryption and DataType Preservation).
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, byte[][] input, byte[][] output, PTYCharset... ptyCharsets)
    Protect byte using all DE supported (Encryption, NoEncryption and DataType Preservation).
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, char[][] input, byte[][] output)
    Protect char using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, char[][] input, byte[][] output, byte[] externalIv)
    Protect char using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, char[][] input, char[][] output)
    Protect char using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, char[][] input, char[][] output, byte[] externalIv)
    Protect char using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, double[] input, byte[][] output)
    Protect double using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, double[] input, double[] output)
    Protect double using no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, float[] input, byte[][] output)
    Protect float using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, float[] input, float[] output)
    Protect float using no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, int[] input, byte[][] output)
    Protect int using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, int[] input, byte[][] output, byte[] externalIv)
    Protect int using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, int[] input, int[] output)
    Protect int using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, int[] input, int[] output, byte[] externalIv)
    Protect int using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, long[] input, byte[][] output)
    Protect long using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, long[] input, byte[][] output, byte[] externalIv)
    Protect long using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, long[] input, long[] output)
    Protect long using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, long[] input, long[] output, byte[] externalIv)
    Protect long using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, short[] input, byte[][] output)
    Protect short using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, short[] input, byte[][] output, byte[] externalIv)
    Protect short using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, short[] input, short[] output)
    Protect short using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, short[] input, short[] output, byte[] externalIv)
    Protect short using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, String[] input, byte[][] output)
    Protect String using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, String[] input, byte[][] output, byte[] externalIv)
    Protect String using encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, String[] input, String[] output)
    Protect String using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, String[] input, String[] output, byte[] externalIv)
    Protect String using data type preservation or no encryption data element.
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, String[] input, String[] output, byte[] externalIv, byte[] externalTweak)
    Protect API supported tweak for FPE(FF1) algo Protect string using only FPE DE supported (Data Type Preservation).
    boolean
    Protector.protect(SessionObject sessionObj, String dataElementName, Date[] input, Date[] output)
    Protect java.util.Date using data type preservation.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, byte[][] input, byte[][] output, byte[] newExternalIv, byte[] oldExternalIv, PTYCharset... ptyCharsets)
    Reprotect byte using all DE supported (Encryption, NoEncryption and DataType Preservation).
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, byte[][] input, byte[][] output, PTYCharset... ptyCharsets)
    Reprotect byte using all DE supported (Encryption, NoEncryption and DataType Preservation).
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, char[][] input, char[][] output)
    Reprotect char using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, char[][] input, char[][] output, byte[] newExternalIv, byte[] oldExternalIv)
    Reprotect char using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, double[] input, double[] output)
    Reprotect double using no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, float[] input, float[] output)
    Reprotect float using no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, int[] input, int[] output)
    Reprotect int using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, int[] input, int[] output, byte[] newExternalIv, byte[] oldExternalIv)
    Reprotect int using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, long[] input, long[] output)
    Reprotect long using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, long[] input, long[] output, byte[] newExternalIv, byte[] oldExternalIv)
    Reprotect long using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, short[] input, short[] output)
    Reprotect short using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, short[] input, short[] output, byte[] newExternalIv, byte[] oldExternalIv)
    Reprotect short using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, String[] input, String[] output)
    Reprotect String using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, String[] input, String[] output, byte[] newExternalIv, byte[] oldExternalIv)
    Reprotect String using data type preservation or no encryption data element.
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, String[] input, String[] output, byte[] newExternalIv, byte[] oldExternalIv, byte[] newExternalTweak, byte[] oldExternalTweak)
    Reprotect API supported Tweak for FPE(FF1) Reprotect String using FPE DE supported (DataType Preservation).
    boolean
    Protector.reprotect(SessionObject sessionObj, String newDataElementName, String oldDataElementName, Date[] input, Date[] output)
    Reprotect date using data type preservation.
    CoreproviderAdapter.sendApiRequest(String operationType, String jwtToken, String apiKey, String jsonPayload)
     
    void
    SessionHandler.setLastError(SessionObject session, String errorMessage)
    Sets the last error message for the session.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, byte[][] output, byte[] externalIv, PTYCharset... ptyCharsets)
    Unprotect byte using all DE supported (Encryption, NoEncryption and DataType Preservation).
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, byte[][] output, PTYCharset... ptyCharsets)
    Unprotect byte using all DE supported (Encryption, NoEncryption and DataType Preservation).
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, char[][] output)
    Unprotect char using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, char[][] output, byte[] externalIv)
    Unprotect char using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, double[] output)
    Unprotect double using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, float[] output)
    Unprotect float using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, int[] output)
    Unprotect int using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, int[] output, byte[] externalIv)
    Unprotect int using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, long[] output)
    Unprotect long using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, long[] output, byte[] externalIv)
    Unprotect long using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, short[] output)
    Unprotect short using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, short[] output, byte[] externalIv)
    Unprotect short using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, String[] output)
    Unprotect String using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, byte[][] input, String[] output, byte[] externalIv)
    Unprotect String using encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, char[][] input, char[][] output)
    Unprotect char using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, char[][] input, char[][] output, byte[] externalIv)
    Unprotect char using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, double[] input, double[] output)
    Unprotect double using no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, float[] input, float[] output)
    Unprotect float using no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, int[] input, int[] output)
    Unprotect int using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, int[] input, int[] output, byte[] externalIv)
    Unprotect int using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, long[] input, long[] output)
    Unprotect long using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, long[] input, long[] output, byte[] externalIv)
    Unprotect long using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, short[] input, short[] output)
    Unprotect short using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, short[] input, short[] output, byte[] externalIv)
    Unprotect short using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, String[] input, String[] output)
    Unprotect String using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, String[] input, String[] output, byte[] externalIv)
    Unprotect String using data type preservation or no encryption data element.
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, String[] input, String[] output, byte[] externalIv, byte[] externalTweak)
    Unprotect API supports Tweak for FPE(FF1) Unprotect String using FPE DE supported (Data Type Preservation).
    boolean
    Protector.unprotect(SessionObject sessionObj, String dataElementName, Date[] input, Date[] output)
    Unprotect java.util.Date using data type preservation.
    Constructors in com.protegrity.ap.java that throw ProtectorException
    Modifier
    Constructor
    Description
     
    Constructs a new CoreproviderAdapter with the specified session handler.