projects/account_manager/src/main/java/io/v/android/apps/account_manager/CertificateDisplayActivity.java
/**
     * Returns method names that the caveat restricts the blessing usage to.
     *
     * @param caveat            the caveat to be examined.
     * @return                  list of methods that the blessing is valid for
     * @throws VException       if the given caveat is not a method caveat, or if there
     *                          was a problem getting the method names
     */
Returns method names that the caveat restricts the blessing usage to.
@param caveat            the caveat to be examined.
@return                  list of methods that the blessing is valid for
@throws VException       if the given caveat is not a method caveat, or if there
was a problem getting the method names
Returns method names that the caveat restricts the blessing usage to . @param caveat the caveat to be examined . @return list of methods that the blessing is valid for @throws VException if the given caveat is not a method caveat or if there was a problem getting the method names
public static List<String> methodCaveatPayload(Caveat caveat) throws VException {
        Object param = VomUtil.decode(caveat.getParamVom());
        if (param == null) {
            param = new ArrayList<String>();
        }
        if (!(param instanceof List<?>)) {
            throw new VException(String.format(
                    "Caveat param %s of wrong type: want List<?>", param));
        }
        try {
            return (List<String>) param;
        } catch (Exception e) {
            throw new VException(String.format(
                    "Caveat param %s of wrong type: want List<String>", param));
        }
    }
public static List < String > methodCaveatPayload ( Caveat caveat ) throws VException { Object param = VomUtil . decode ( caveat . getParamVom ( ) ) ; if ( param == null ) { param = new ArrayList < String > ( ) ; } if ( ! ( param instanceof List < ? > ) ) { throw new VException ( String . format ( "Caveat param %s of wrong type: want List<?>" , param ) ) ; } try { return ( List < String > ) param ; } catch ( Exception e ) { throw new VException ( String . format ( "Caveat param %s of wrong type: want List<String>" , param ) ) ; } }
Returns method names that the caveat restricts the blessing usage to.
Returns method names that the caveat restricts the blessing usage to .